diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-26 22:24:27 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-31 15:06:41 +0100 |
commit | 9823147da6c893d9295949e5ed982a8630deb6db (patch) | |
tree | 4bd9a6b2e03f9a0cb69a684187776b65c139dc5b /tools/perf/util/trace-event-scripting.c | |
parent | perf branch: Remove some needless headers, add a needed one (diff) | |
download | linux-9823147da6c893d9295949e5ed982a8630deb6db.tar.xz 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/trace-event-scripting.c')
-rw-r--r-- | tools/perf/util/trace-event-scripting.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/trace-event-scripting.c b/tools/perf/util/trace-event-scripting.c index 7172ca05265f..636a010d929b 100644 --- a/tools/perf/util/trace-event-scripting.c +++ b/tools/perf/util/trace-event-scripting.c @@ -12,9 +12,9 @@ #include "debug.h" #include "trace-event.h" -#include "event.h" #include "evsel.h" #include <linux/zalloc.h> +#include "util/sample.h" struct scripting_context *scripting_context; |