diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-30 17:45:20 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-01 01:24:10 +0000 |
| commit | f2a39fe84901df2b3d1bec3459b65cee3e8db57c (patch) | |
| tree | 399cb01cdf9a8c771e734ed4344a18840845f9bf /tools/perf/util/python.c | |
| parent | perf tools: Remove needless evlist.h include directives (diff) | |
| download | kernel-f2a39fe84901df2b3d1bec3459b65cee3e8db57c.tar.gz kernel-f2a39fe84901df2b3d1bec3459b65cee3e8db57c.zip | |
perf auxtrace: Uninline functions that touch perf_session
So that we don't carry the session.h include directive in auxtrace.h,
which in turn opens a can of worms of files that were getting all sorts
of things via that include, fix them all.
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
| -rw-r--r-- | tools/perf/util/python.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index 9b350482c403..07ca4535e6f7 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c @@ -5,6 +5,7 @@ #include <poll.h> #include <linux/err.h> #include <perf/cpumap.h> +#include <traceevent/event-parse.h> #include "debug.h" #include "evlist.h" #include "callchain.h" @@ -13,6 +14,7 @@ #include "cpumap.h" #include "print_binary.h" #include "thread_map.h" +#include "trace-event.h" #include "mmap.h" #include "util.h" #include "../perf-sys.h" |
