~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/perf/util/Build

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/perf/util/Build (Version linux-6.12-rc7) and /tools/perf/util/Build (Version linux-4.17.19)


  1 include $(srctree)/tools/scripts/Makefile.incl !!   1 libperf-y += annotate.o
  2 include $(srctree)/tools/scripts/utilities.mak !!   2 libperf-y += block-range.o
  3                                                !!   3 libperf-y += build-id.o
  4 perf-util-y += arm64-frame-pointer-unwind-supp !!   4 libperf-y += config.o
  5 perf-util-y += addr_location.o                 !!   5 libperf-y += ctype.o
  6 perf-util-y += annotate.o                      !!   6 libperf-y += db-export.o
  7 perf-util-y += block-info.o                    !!   7 libperf-y += env.o
  8 perf-util-y += block-range.o                   !!   8 libperf-y += event.o
  9 perf-util-y += build-id.o                      !!   9 libperf-y += evlist.o
 10 perf-util-y += cacheline.o                     !!  10 libperf-y += evsel.o
 11 perf-util-y += config.o                        !!  11 libperf-y += evsel_fprintf.o
 12 perf-util-y += copyfile.o                      !!  12 libperf-y += find_bit.o
 13 perf-util-y += ctype.o                         !!  13 libperf-y += kallsyms.o
 14 perf-util-y += db-export.o                     !!  14 libperf-y += levenshtein.o
 15 perf-util-y += disasm.o                        !!  15 libperf-y += llvm-utils.o
 16 perf-util-y += disasm_bpf.o                    !!  16 libperf-y += mmap.o
 17 perf-util-y += env.o                           !!  17 libperf-y += memswap.o
 18 perf-util-y += event.o                         !!  18 libperf-y += parse-events.o
 19 perf-util-y += evlist.o                        !!  19 libperf-y += perf_regs.o
 20 perf-util-y += sideband_evlist.o               !!  20 libperf-y += path.o
 21 perf-util-y += evsel.o                         !!  21 libperf-y += print_binary.o
 22 perf-util-y += evsel_fprintf.o                 !!  22 libperf-y += rbtree.o
 23 perf-util-y += perf_event_attr_fprintf.o       !!  23 libperf-y += libstring.o
 24 perf-util-y += evswitch.o                      !!  24 libperf-y += bitmap.o
 25 perf-util-y += find_bit.o                      !!  25 libperf-y += hweight.o
 26 perf-util-y += get_current_dir_name.o          !!  26 libperf-y += smt.o
 27 perf-util-y += levenshtein.o                   !!  27 libperf-y += quote.o
 28 perf-util-y += mmap.o                          !!  28 libperf-y += strbuf.o
 29 perf-util-y += memswap.o                       !!  29 libperf-y += string.o
 30 perf-util-y += parse-events.o                  !!  30 libperf-y += strlist.o
 31 perf-util-y += print-events.o                  !!  31 libperf-y += strfilter.o
 32 perf-util-y += tracepoint.o                    !!  32 libperf-y += top.o
 33 perf-util-y += perf_regs.o                     !!  33 libperf-y += usage.o
 34 perf-util-y += perf-regs-arch/                 !!  34 libperf-y += dso.o
 35 perf-util-y += path.o                          !!  35 libperf-y += symbol.o
 36 perf-util-y += print_binary.o                  !!  36 libperf-y += symbol_fprintf.o
 37 perf-util-y += print_insn.o                    !!  37 libperf-y += color.o
 38 perf-util-y += rlimit.o                        !!  38 libperf-y += metricgroup.o
 39 perf-util-y += argv_split.o                    !!  39 libperf-y += header.o
 40 perf-util-y += rbtree.o                        !!  40 libperf-y += callchain.o
 41 perf-util-y += libstring.o                     !!  41 libperf-y += values.o
 42 perf-util-y += bitmap.o                        !!  42 libperf-y += debug.o
 43 perf-util-y += hweight.o                       !!  43 libperf-y += machine.o
 44 perf-util-y += smt.o                           !!  44 libperf-y += map.o
 45 perf-util-y += strbuf.o                        !!  45 libperf-y += pstack.o
 46 perf-util-y += string.o                        !!  46 libperf-y += session.o
 47 perf-util-y += strlist.o                       !!  47 libperf-$(CONFIG_TRACE) += syscalltbl.o
 48 perf-util-y += strfilter.o                     !!  48 libperf-y += ordered-events.o
 49 perf-util-y += top.o                           !!  49 libperf-y += namespaces.o
 50 perf-util-y += usage.o                         !!  50 libperf-y += comm.o
 51 perf-util-y += dso.o                           !!  51 libperf-y += thread.o
 52 perf-util-y += dsos.o                          !!  52 libperf-y += thread_map.o
 53 perf-util-y += symbol.o                        !!  53 libperf-y += trace-event-parse.o
 54 perf-util-y += symbol_fprintf.o                !!  54 libperf-y += parse-events-flex.o
 55 perf-util-y += map_symbol.o                    !!  55 libperf-y += parse-events-bison.o
 56 perf-util-y += color.o                         !!  56 libperf-y += pmu.o
 57 perf-util-y += color_config.o                  !!  57 libperf-y += pmu-flex.o
 58 perf-util-y += metricgroup.o                   !!  58 libperf-y += pmu-bison.o
 59 perf-util-y += header.o                        !!  59 libperf-y += trace-event-read.o
 60 perf-util-y += callchain.o                     !!  60 libperf-y += trace-event-info.o
 61 perf-util-y += values.o                        !!  61 libperf-y += trace-event-scripting.o
 62 perf-util-y += debug.o                         !!  62 libperf-y += trace-event.o
 63 perf-util-y += fncache.o                       !!  63 libperf-y += svghelper.o
 64 perf-util-y += machine.o                       !!  64 libperf-y += sort.o
 65 perf-util-y += map.o                           !!  65 libperf-y += hist.o
 66 perf-util-y += maps.o                          !!  66 libperf-y += util.o
 67 perf-util-y += pstack.o                        !!  67 libperf-y += xyarray.o
 68 perf-util-y += session.o                       !!  68 libperf-y += cpumap.o
 69 perf-util-y += tool.o                          !!  69 libperf-y += cgroup.o
 70 perf-util-y += sample-raw.o                    !!  70 libperf-y += target.o
 71 perf-util-y += s390-sample-raw.o               !!  71 libperf-y += rblist.o
 72 perf-util-y += amd-sample-raw.o                !!  72 libperf-y += intlist.o
 73 perf-util-$(CONFIG_TRACE) += syscalltbl.o      !!  73 libperf-y += vdso.o
 74 perf-util-y += ordered-events.o                !!  74 libperf-y += counts.o
 75 perf-util-y += namespaces.o                    !!  75 libperf-y += stat.o
 76 perf-util-y += comm.o                          !!  76 libperf-y += stat-shadow.o
 77 perf-util-y += thread.o                        !!  77 libperf-y += record.o
 78 perf-util-y += threads.o                       !!  78 libperf-y += srcline.o
 79 perf-util-y += thread_map.o                    !!  79 libperf-y += data.o
 80 perf-util-y += parse-events-flex.o             !!  80 libperf-y += tsc.o
 81 perf-util-y += parse-events-bison.o            !!  81 libperf-y += cloexec.o
 82 perf-util-y += pmu.o                           !!  82 libperf-y += call-path.o
 83 perf-util-y += pmus.o                          !!  83 libperf-y += rwsem.o
 84 perf-util-y += pmu-flex.o                      !!  84 libperf-y += thread-stack.o
 85 perf-util-y += pmu-bison.o                     !!  85 libperf-$(CONFIG_AUXTRACE) += auxtrace.o
 86 perf-util-y += svghelper.o                     !!  86 libperf-$(CONFIG_AUXTRACE) += intel-pt-decoder/
 87 perf-util-$(CONFIG_LIBTRACEEVENT) += trace-eve !!  87 libperf-$(CONFIG_AUXTRACE) += intel-pt.o
 88 perf-util-y += trace-event-scripting.o         !!  88 libperf-$(CONFIG_AUXTRACE) += intel-bts.o
 89 perf-util-$(CONFIG_LIBTRACEEVENT) += trace-eve !!  89 libperf-$(CONFIG_AUXTRACE) += arm-spe.o
 90 perf-util-$(CONFIG_LIBTRACEEVENT) += trace-eve !!  90 libperf-$(CONFIG_AUXTRACE) += arm-spe-pkt-decoder.o
 91 perf-util-$(CONFIG_LIBTRACEEVENT) += trace-eve << 
 92 perf-util-y += sort.o                          << 
 93 perf-util-y += hist.o                          << 
 94 perf-util-y += util.o                          << 
 95 perf-util-y += cpumap.o                        << 
 96 perf-util-y += affinity.o                      << 
 97 perf-util-y += cputopo.o                       << 
 98 perf-util-y += cgroup.o                        << 
 99 perf-util-y += target.o                        << 
100 perf-util-y += rblist.o                        << 
101 perf-util-y += intlist.o                       << 
102 perf-util-y += vdso.o                          << 
103 perf-util-y += counts.o                        << 
104 perf-util-y += stat.o                          << 
105 perf-util-y += stat-shadow.o                   << 
106 perf-util-y += stat-display.o                  << 
107 perf-util-y += perf_api_probe.o                << 
108 perf-util-y += record.o                        << 
109 perf-util-y += srcline.o                       << 
110 perf-util-y += srccode.o                       << 
111 perf-util-y += synthetic-events.o              << 
112 perf-util-y += data.o                          << 
113 perf-util-y += tsc.o                           << 
114 perf-util-y += cloexec.o                       << 
115 perf-util-y += call-path.o                     << 
116 perf-util-y += rwsem.o                         << 
117 perf-util-y += thread-stack.o                  << 
118 perf-util-y += spark.o                         << 
119 perf-util-y += topdown.o                       << 
120 perf-util-y += iostat.o                        << 
121 perf-util-y += stream.o                        << 
122 perf-util-$(CONFIG_AUXTRACE) += auxtrace.o     << 
123 perf-util-$(CONFIG_AUXTRACE) += intel-pt-decod << 
124 perf-util-$(CONFIG_AUXTRACE) += intel-pt.o     << 
125 perf-util-$(CONFIG_AUXTRACE) += intel-bts.o    << 
126 perf-util-$(CONFIG_AUXTRACE) += arm-spe.o      << 
127 perf-util-$(CONFIG_AUXTRACE) += arm-spe-decode << 
128 perf-util-$(CONFIG_AUXTRACE) += hisi-ptt.o     << 
129 perf-util-$(CONFIG_AUXTRACE) += hisi-ptt-decod << 
130 perf-util-$(CONFIG_AUXTRACE) += s390-cpumsf.o  << 
131                                                    91 
132 ifdef CONFIG_LIBOPENCSD                            92 ifdef CONFIG_LIBOPENCSD
133 perf-util-$(CONFIG_AUXTRACE) += cs-etm.o       !!  93 libperf-$(CONFIG_AUXTRACE) += cs-etm.o
134 perf-util-$(CONFIG_AUXTRACE) += cs-etm-decoder !!  94 libperf-$(CONFIG_AUXTRACE) += cs-etm-decoder/
135 endif                                          << 
136 perf-util-$(CONFIG_AUXTRACE) += cs-etm-base.o  << 
137                                                << 
138 perf-util-y += parse-branch-options.o          << 
139 perf-util-y += dump-insn.o                     << 
140 perf-util-y += parse-regs-options.o            << 
141 perf-util-y += parse-sublevel-options.o        << 
142 perf-util-y += term.o                          << 
143 perf-util-y += help-unknown-cmd.o              << 
144 perf-util-y += dlfilter.o                      << 
145 perf-util-y += mem-events.o                    << 
146 perf-util-y += mem-info.o                      << 
147 perf-util-y += vsprintf.o                      << 
148 perf-util-y += units.o                         << 
149 perf-util-y += time-utils.o                    << 
150 perf-util-y += expr-flex.o                     << 
151 perf-util-y += expr-bison.o                    << 
152 perf-util-y += expr.o                          << 
153 perf-util-y += branch.o                        << 
154 perf-util-y += mem2node.o                      << 
155 perf-util-y += clockid.o                       << 
156 perf-util-y += list_sort.o                     << 
157 perf-util-y += mutex.o                         << 
158 perf-util-y += sharded_mutex.o                 << 
159 perf-util-$(CONFIG_X86_64) += intel-tpebs.o    << 
160                                                << 
161 perf-util-$(CONFIG_LIBBPF) += bpf_map.o        << 
162 perf-util-$(CONFIG_PERF_BPF_SKEL) += bpf_count << 
163 perf-util-$(CONFIG_PERF_BPF_SKEL) += bpf_count << 
164 perf-util-$(CONFIG_PERF_BPF_SKEL) += bpf_ftrac << 
165 perf-util-$(CONFIG_PERF_BPF_SKEL) += bpf_off_c << 
166 perf-util-$(CONFIG_PERF_BPF_SKEL) += bpf-filte << 
167 perf-util-$(CONFIG_PERF_BPF_SKEL) += bpf-filte << 
168 perf-util-$(CONFIG_PERF_BPF_SKEL) += bpf-filte << 
169                                                << 
170 ifeq ($(CONFIG_LIBTRACEEVENT),y)               << 
171   perf-util-$(CONFIG_PERF_BPF_SKEL) += bpf_loc << 
172 endif                                          << 
173                                                << 
174 ifeq ($(CONFIG_LIBTRACEEVENT),y)               << 
175   perf-util-$(CONFIG_PERF_BPF_SKEL) += bpf_kwo << 
176   perf-util-$(CONFIG_PERF_BPF_SKEL) += bpf_kwo << 
177 endif                                              95 endif
178                                                    96 
179 perf-util-$(CONFIG_LIBELF) += symbol-elf.o     !!  97 libperf-y += parse-branch-options.o
180 perf-util-$(CONFIG_LIBELF) += probe-file.o     !!  98 libperf-y += dump-insn.o
181 perf-util-$(CONFIG_LIBELF) += probe-event.o    !!  99 libperf-y += parse-regs-options.o
182                                                !! 100 libperf-y += term.o
183 ifdef CONFIG_LIBBPF_DYNAMIC                    !! 101 libperf-y += help-unknown-cmd.o
184   hashmap := 1                                 !! 102 libperf-y += mem-events.o
185 endif                                          !! 103 libperf-y += vsprintf.o
186 ifndef CONFIG_LIBBPF                           !! 104 libperf-y += drv_configs.o
187   hashmap := 1                                 !! 105 libperf-y += units.o
188 endif                                          !! 106 libperf-y += time-utils.o
189                                                !! 107 libperf-y += expr-bison.o
190 ifdef hashmap                                  !! 108 libperf-y += branch.o
191 perf-util-y += hashmap.o                       !! 109 libperf-y += mem2node.o
192 endif                                          !! 110 
                                                   >> 111 libperf-$(CONFIG_LIBBPF) += bpf-loader.o
                                                   >> 112 libperf-$(CONFIG_BPF_PROLOGUE) += bpf-prologue.o
                                                   >> 113 libperf-$(CONFIG_LIBELF) += symbol-elf.o
                                                   >> 114 libperf-$(CONFIG_LIBELF) += probe-file.o
                                                   >> 115 libperf-$(CONFIG_LIBELF) += probe-event.o
193                                                   116 
194 ifndef CONFIG_LIBELF                              117 ifndef CONFIG_LIBELF
195 perf-util-y += symbol-minimal.o                !! 118 libperf-y += symbol-minimal.o
196 endif                                             119 endif
197                                                   120 
198 ifndef CONFIG_SETNS                               121 ifndef CONFIG_SETNS
199 perf-util-y += setns.o                         !! 122 libperf-y += setns.o
200 endif                                             123 endif
201                                                   124 
202 perf-util-$(CONFIG_DWARF) += probe-finder.o    !! 125 libperf-$(CONFIG_DWARF) += probe-finder.o
203 perf-util-$(CONFIG_DWARF) += dwarf-aux.o       !! 126 libperf-$(CONFIG_DWARF) += dwarf-aux.o
204 perf-util-$(CONFIG_DWARF) += dwarf-regs.o      !! 127 libperf-$(CONFIG_DWARF) += dwarf-regs.o
205 perf-util-$(CONFIG_DWARF) += debuginfo.o       << 
206 perf-util-$(CONFIG_DWARF) += annotate-data.o   << 
207                                                << 
208 perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwi << 
209 perf-util-$(CONFIG_LOCAL_LIBUNWIND)    += unwi << 
210 perf-util-$(CONFIG_LIBUNWIND)          += unwi << 
211 perf-util-$(CONFIG_LIBUNWIND_X86)      += libu << 
212 perf-util-$(CONFIG_LIBUNWIND_AARCH64)  += libu << 
213                                                   128 
214 ifeq ($(CONFIG_LIBTRACEEVENT),y)               !! 129 libperf-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o
215   perf-util-$(CONFIG_LIBBABELTRACE) += data-co !! 130 libperf-$(CONFIG_LOCAL_LIBUNWIND)    += unwind-libunwind-local.o
216 endif                                          !! 131 libperf-$(CONFIG_LIBUNWIND)          += unwind-libunwind.o
                                                   >> 132 libperf-$(CONFIG_LIBUNWIND_X86)      += libunwind/x86_32.o
                                                   >> 133 libperf-$(CONFIG_LIBUNWIND_AARCH64)  += libunwind/arm64.o
217                                                   134 
218 perf-util-y += data-convert-json.o             !! 135 libperf-$(CONFIG_LIBBABELTRACE) += data-convert-bt.o
219                                                   136 
220 perf-util-y += scripting-engines/              !! 137 libperf-y += scripting-engines/
221                                                   138 
222 perf-util-$(CONFIG_ZLIB) += zlib.o             !! 139 libperf-$(CONFIG_ZLIB) += zlib.o
223 perf-util-$(CONFIG_LZMA) += lzma.o             !! 140 libperf-$(CONFIG_LZMA) += lzma.o
224 perf-util-$(CONFIG_ZSTD) += zstd.o             !! 141 libperf-y += demangle-java.o
225                                                !! 142 libperf-y += demangle-rust.o
226 perf-util-y += cap.o                           << 
227                                                << 
228 perf-util-$(CONFIG_CXX_DEMANGLE) += demangle-c << 
229 perf-util-y += demangle-ocaml.o                << 
230 perf-util-y += demangle-java.o                 << 
231 perf-util-y += demangle-rust.o                 << 
232 perf-util-$(CONFIG_LIBLLVM) += llvm-c-helpers. << 
233                                                   143 
234 ifdef CONFIG_JITDUMP                              144 ifdef CONFIG_JITDUMP
235 perf-util-$(CONFIG_LIBELF) += jitdump.o        !! 145 libperf-$(CONFIG_LIBELF) += jitdump.o
236 perf-util-$(CONFIG_LIBELF) += genelf.o         !! 146 libperf-$(CONFIG_LIBELF) += genelf.o
237 perf-util-$(CONFIG_DWARF) += genelf_debug.o    !! 147 libperf-$(CONFIG_DWARF) += genelf_debug.o
238 endif                                             148 endif
239                                                   149 
240 perf-util-y += perf-hooks.o                    !! 150 libperf-y += perf-hooks.o
241                                                << 
242 perf-util-$(CONFIG_LIBBPF) += bpf-event.o      << 
243 perf-util-$(CONFIG_LIBBPF) += bpf-utils.o      << 
244                                                   151 
245 perf-util-$(CONFIG_LIBPFM4) += pfm.o           !! 152 libperf-$(CONFIG_CXX) += c++/
246                                                   153 
247 CFLAGS_config.o   += -DETC_PERFCONFIG="BUILD_S    154 CFLAGS_config.o   += -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
248                                                << 
249 # avoid compiler warnings in 32-bit mode          155 # avoid compiler warnings in 32-bit mode
250 CFLAGS_genelf_debug.o  += -Wno-packed             156 CFLAGS_genelf_debug.o  += -Wno-packed
251                                                   157 
252 $(OUTPUT)util/parse-events-flex.c $(OUTPUT)uti !! 158 $(OUTPUT)util/parse-events-flex.c: util/parse-events.l $(OUTPUT)util/parse-events-bison.c
253         $(call rule_mkdir)                     << 
254         $(Q)$(call echo-cmd,flex)$(FLEX) -o $( << 
255                 --header-file=$(OUTPUT)util/pa << 
256                                                << 
257 $(OUTPUT)util/parse-events-bison.c $(OUTPUT)ut << 
258         $(call rule_mkdir)                        159         $(call rule_mkdir)
259         $(Q)$(call echo-cmd,bison)$(BISON) -v  !! 160         $(Q)$(call echo-cmd,flex)$(FLEX) -o $@ --header-file=$(OUTPUT)util/parse-events-flex.h $(PARSER_DEBUG_FLEX) util/parse-events.l
260                 -o $(OUTPUT)util/parse-events- << 
261                                                   161 
262 $(OUTPUT)util/expr-flex.c $(OUTPUT)util/expr-f !! 162 $(OUTPUT)util/parse-events-bison.c: util/parse-events.y
263         $(call rule_mkdir)                        163         $(call rule_mkdir)
264         $(Q)$(call echo-cmd,flex)$(FLEX) -o $( !! 164         $(Q)$(call echo-cmd,bison)$(BISON) -v util/parse-events.y -d $(PARSER_DEBUG_BISON) -o $@ -p parse_events_
265                 --header-file=$(OUTPUT)util/ex << 
266                                                   165 
267 $(OUTPUT)util/expr-bison.c $(OUTPUT)util/expr- !! 166 $(OUTPUT)util/expr-bison.c: util/expr.y
268         $(call rule_mkdir)                        167         $(call rule_mkdir)
269         $(Q)$(call echo-cmd,bison)$(BISON) -v  !! 168         $(Q)$(call echo-cmd,bison)$(BISON) -v util/expr.y -d $(PARSER_DEBUG_BISON) -o $@ -p expr__
270                 -o $(OUTPUT)util/expr-bison.c  << 
271                                                   169 
272 $(OUTPUT)util/pmu-flex.c $(OUTPUT)util/pmu-fle !! 170 $(OUTPUT)util/pmu-flex.c: util/pmu.l $(OUTPUT)util/pmu-bison.c
273         $(call rule_mkdir)                        171         $(call rule_mkdir)
274         $(Q)$(call echo-cmd,flex)$(FLEX) -o $( !! 172         $(Q)$(call echo-cmd,flex)$(FLEX) -o $@ --header-file=$(OUTPUT)util/pmu-flex.h util/pmu.l
275                 --header-file=$(OUTPUT)util/pm << 
276                                                   173 
277 $(OUTPUT)util/pmu-bison.c $(OUTPUT)util/pmu-bi !! 174 $(OUTPUT)util/pmu-bison.c: util/pmu.y
278         $(call rule_mkdir)                        175         $(call rule_mkdir)
279         $(Q)$(call echo-cmd,bison)$(BISON) -v  !! 176         $(Q)$(call echo-cmd,bison)$(BISON) -v util/pmu.y -d -o $@ -p perf_pmu_
280                 -o $(OUTPUT)util/pmu-bison.c - << 
281                                                << 
282 $(OUTPUT)util/bpf-filter-flex.c $(OUTPUT)util/ << 
283         $(call rule_mkdir)                     << 
284         $(Q)$(call echo-cmd,flex)$(FLEX) -o $( << 
285                 --header-file=$(OUTPUT)util/bp << 
286                                                << 
287 $(OUTPUT)util/bpf-filter-bison.c $(OUTPUT)util << 
288         $(call rule_mkdir)                     << 
289         $(Q)$(call echo-cmd,bison)$(BISON) -v  << 
290                 -o $(OUTPUT)util/bpf-filter-bi << 
291                                                << 
292 FLEX_VERSION := $(shell $(FLEX) --version | cu << 
293                                                   177 
294 FLEX_GE_260 := $(call version-ge3,$(FLEX_VERSI !! 178 CFLAGS_parse-events-flex.o  += -w
295 ifeq ($(FLEX_GE_260),1)                        !! 179 CFLAGS_pmu-flex.o           += -w
296   flex_flags := -Wno-redundant-decls -Wno-swit !! 180 CFLAGS_parse-events-bison.o += -DYYENABLE_NLS=0 -w
297                                                !! 181 CFLAGS_pmu-bison.o          += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
298   # Some newer clang and gcc version complain  !! 182 CFLAGS_expr-bison.o         += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
299   # util/parse-events-bison.c:1317:9: error: v << 
300   #  int yynerrs = 0;                          << 
301                                                << 
302   flex_flags += -Wno-unused-but-set-variable   << 
303                                                << 
304   FLEX_LT_262 := $(call version-lt3,$(FLEX_VER << 
305   ifeq ($(FLEX_LT_262),1)                      << 
306     flex_flags += -Wno-sign-compare            << 
307   endif                                        << 
308 else                                           << 
309   flex_flags := -w                             << 
310 endif                                          << 
311                                                << 
312 # Some newer clang and gcc version complain ab << 
313 # util/parse-events-bison.c:1317:9: error: var << 
314 #  int yynerrs = 0;                            << 
315                                                << 
316 bison_flags := -DYYENABLE_NLS=0 -Wno-unused-bu << 
317                                                << 
318 # Old clangs don't grok -Wno-unused-but-set-va << 
319 ifeq ($(CC_NO_CLANG), 0)                       << 
320   CLANG_VERSION := $(shell $(CLANG) --version  << 
321   ifeq ($(call version-lt3,$(CLANG_VERSION),13 << 
322     bison_flags := $(subst -Wno-unused-but-set << 
323     flex_flags := $(subst -Wno-unused-but-set- << 
324   endif                                        << 
325 endif                                          << 
326                                                << 
327 BISON_GE_382 := $(shell expr $(shell $(BISON)  << 
328 ifeq ($(BISON_GE_382),1)                       << 
329   bison_flags += -Wno-switch-enum              << 
330 else                                           << 
331   bison_flags += -w                            << 
332 endif                                          << 
333                                                << 
334 BISON_LT_381 := $(shell expr $(shell $(BISON)  << 
335 ifeq ($(BISON_LT_381),1)                       << 
336   bison_flags += -DYYNOMEM=YYABORT             << 
337 endif                                          << 
338                                                << 
339 CFLAGS_parse-events-flex.o  += $(flex_flags) - << 
340 CFLAGS_pmu-flex.o           += $(flex_flags)   << 
341 CFLAGS_expr-flex.o          += $(flex_flags)   << 
342 CFLAGS_bpf-filter-flex.o    += $(flex_flags)   << 
343                                                << 
344 CFLAGS_parse-events-bison.o += $(bison_flags)  << 
345 CFLAGS_pmu-bison.o          += -DYYLTYPE_IS_TR << 
346 CFLAGS_expr-bison.o         += -DYYLTYPE_IS_TR << 
347 CFLAGS_bpf-filter-bison.o   += -DYYLTYPE_IS_TR << 
348                                                   183 
349 $(OUTPUT)util/parse-events.o: $(OUTPUT)util/pa    184 $(OUTPUT)util/parse-events.o: $(OUTPUT)util/parse-events-flex.c $(OUTPUT)util/parse-events-bison.c
350 $(OUTPUT)util/pmu.o: $(OUTPUT)util/pmu-flex.c     185 $(OUTPUT)util/pmu.o: $(OUTPUT)util/pmu-flex.c $(OUTPUT)util/pmu-bison.c
351 $(OUTPUT)util/expr.o: $(OUTPUT)util/expr-flex. << 
352 $(OUTPUT)util/bpf-filter.o: $(OUTPUT)util/bpf- << 
353                                                   186 
354 CFLAGS_bitmap.o        += -Wno-unused-paramete    187 CFLAGS_bitmap.o        += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
355 CFLAGS_find_bit.o      += -Wno-unused-paramete    188 CFLAGS_find_bit.o      += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
356 CFLAGS_rbtree.o        += -Wno-unused-paramete    189 CFLAGS_rbtree.o        += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
357 CFLAGS_libstring.o     += -Wno-unused-paramete    190 CFLAGS_libstring.o     += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
358 CFLAGS_hweight.o       += -Wno-unused-paramete    191 CFLAGS_hweight.o       += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
                                                   >> 192 CFLAGS_parse-events.o  += -Wno-redundant-decls
359 CFLAGS_header.o        += -include $(OUTPUT)PE    193 CFLAGS_header.o        += -include $(OUTPUT)PERF-VERSION-FILE
360 CFLAGS_arm-spe.o       += -I$(srctree)/tools/a << 
361                                                   194 
362 $(OUTPUT)util/argv_split.o: ../lib/argv_split. !! 195 $(OUTPUT)util/kallsyms.o: ../lib/symbol/kallsyms.c FORCE
363         $(call rule_mkdir)                        196         $(call rule_mkdir)
364         $(call if_changed_dep,cc_o_c)             197         $(call if_changed_dep,cc_o_c)
365                                                   198 
366 $(OUTPUT)util/bitmap.o: ../lib/bitmap.c FORCE     199 $(OUTPUT)util/bitmap.o: ../lib/bitmap.c FORCE
367         $(call rule_mkdir)                        200         $(call rule_mkdir)
368         $(call if_changed_dep,cc_o_c)             201         $(call if_changed_dep,cc_o_c)
369                                                   202 
370 $(OUTPUT)util/ctype.o: ../lib/ctype.c FORCE    << 
371         $(call rule_mkdir)                     << 
372         $(call if_changed_dep,cc_o_c)          << 
373                                                << 
374 $(OUTPUT)util/find_bit.o: ../lib/find_bit.c FO    203 $(OUTPUT)util/find_bit.o: ../lib/find_bit.c FORCE
375         $(call rule_mkdir)                        204         $(call rule_mkdir)
376         $(call if_changed_dep,cc_o_c)             205         $(call if_changed_dep,cc_o_c)
377                                                   206 
378 $(OUTPUT)util/rbtree.o: ../lib/rbtree.c FORCE     207 $(OUTPUT)util/rbtree.o: ../lib/rbtree.c FORCE
379         $(call rule_mkdir)                        208         $(call rule_mkdir)
380         $(call if_changed_dep,cc_o_c)             209         $(call if_changed_dep,cc_o_c)
381                                                   210 
382 $(OUTPUT)util/libstring.o: ../lib/string.c FOR    211 $(OUTPUT)util/libstring.o: ../lib/string.c FORCE
383         $(call rule_mkdir)                        212         $(call rule_mkdir)
384         $(call if_changed_dep,cc_o_c)             213         $(call if_changed_dep,cc_o_c)
385                                                   214 
386 $(OUTPUT)util/hweight.o: ../lib/hweight.c FORC    215 $(OUTPUT)util/hweight.o: ../lib/hweight.c FORCE
387         $(call rule_mkdir)                        216         $(call rule_mkdir)
388         $(call if_changed_dep,cc_o_c)             217         $(call if_changed_dep,cc_o_c)
389                                                   218 
390 $(OUTPUT)util/vsprintf.o: ../lib/vsprintf.c FO    219 $(OUTPUT)util/vsprintf.o: ../lib/vsprintf.c FORCE
391         $(call rule_mkdir)                        220         $(call rule_mkdir)
392         $(call if_changed_dep,cc_o_c)             221         $(call if_changed_dep,cc_o_c)
393                                                << 
394 $(OUTPUT)util/list_sort.o: ../lib/list_sort.c  << 
395         $(call rule_mkdir)                     << 
396         $(call if_changed_dep,cc_o_c)          << 
397                                                << 
398 ifdef SHELLCHECK                               << 
399   SHELL_TESTS := generate-cmdlist.sh           << 
400   TEST_LOGS := $(SHELL_TESTS:%=%.shellcheck_lo << 
401 else                                           << 
402   SHELL_TESTS :=                               << 
403   TEST_LOGS :=                                 << 
404 endif                                          << 
405                                                << 
406 $(OUTPUT)%.shellcheck_log: %                   << 
407         $(call rule_mkdir)                     << 
408         $(Q)$(call echo-cmd,test)shellcheck -a << 
409                                                << 
410 perf-util-y += $(TEST_LOGS)                    << 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php