~ [ 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-6.2.16)


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