perf tools: Move 'struct perf_sample' to a separate header file to disentangle headers
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Oct 2022 20:24:27 +0000 (17:24 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 31 Oct 2022 14:06:41 +0000 (11:06 -0300)
commit9823147da6c893d9295949e5ed982a8630deb6db
tree4bd9a6b2e03f9a0cb69a684187776b65c139dc5b
parent08043330167f1e21abe60ff7e124ed87d4fd029d
perf tools: Move 'struct perf_sample' to a separate header file to disentangle headers

Some places were including event.h just to get 'struct perf_sample',
move it to a separate place so that we speed up a bit the build.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
31 files changed:
tools/perf/arch/arm/util/unwind-libdw.c
tools/perf/arch/arm64/util/machine.c
tools/perf/arch/arm64/util/unwind-libdw.c
tools/perf/arch/powerpc/util/event.c
tools/perf/arch/powerpc/util/unwind-libdw.c
tools/perf/arch/s390/util/unwind-libdw.c
tools/perf/arch/x86/tests/sample-parsing.c
tools/perf/arch/x86/util/event.c
tools/perf/arch/x86/util/unwind-libdw.c
tools/perf/bench/inject-buildid.c
tools/perf/builtin-mem.c
tools/perf/tests/dlfilter-test.c
tools/perf/tests/mmap-basic.c
tools/perf/tests/openat-syscall-tp-fields.c
tools/perf/tests/parse-no-sample-id-all.c
tools/perf/tests/perf-record.c
tools/perf/tests/perf-time-to-tsc.c
tools/perf/tests/sw-clock.c
tools/perf/tests/switch-tracking.c
tools/perf/util/amd-sample-raw.c
tools/perf/util/auxtrace.c
tools/perf/util/branch.h
tools/perf/util/data-convert-bt.c
tools/perf/util/event.h
tools/perf/util/evlist.c
tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c
tools/perf/util/perf_regs.c
tools/perf/util/s390-cpumsf.c
tools/perf/util/s390-sample-raw.c
tools/perf/util/sample.h [new file with mode: 0644]
tools/perf/util/trace-event-scripting.c