diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-26 17:24:27 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-31 11:06:41 -0300 |
| commit | 9823147da6c893d9295949e5ed982a8630deb6db (patch) | |
| tree | 4bd9a6b2e03f9a0cb69a684187776b65c139dc5b /tools/perf/util/intel-pt-decoder | |
| parent | perf branch: Remove some needless headers, add a needed one (diff) | |
| download | linux-9823147da6c893d9295949e5ed982a8630deb6db.tar.gz linux-9823147da6c893d9295949e5ed982a8630deb6db.zip | |
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>
Diffstat (limited to 'tools/perf/util/intel-pt-decoder')
| -rw-r--r-- | tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c b/tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c index 1376077183f7..22308dd93010 100644 --- a/tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c +++ b/tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c @@ -18,6 +18,7 @@ #include "intel-pt-insn-decoder.h" #include "dump-insn.h" +#include "util/sample.h" #if INTEL_PT_INSN_BUF_SZ < MAX_INSN_SIZE || INTEL_PT_INSN_BUF_SZ > MAX_INSN #error Instruction buffer size too small |
