aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-30 13:45:20 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-31 21:24:10 -0400
commitf2a39fe84901df2b3d1bec3459b65cee3e8db57c (patch)
tree399cb01cdf9a8c771e734ed4344a18840845f9bf /tools/perf/util/python.c
parentfa0d98462fae5d4951f22f3ac1090d48c53396d1 (diff)
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 <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-d2d83aovpgri2z75wlitquni@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/python.c')
-rw-r--r--tools/perf/util/python.c2
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 @@
5#include <poll.h> 5#include <poll.h>
6#include <linux/err.h> 6#include <linux/err.h>
7#include <perf/cpumap.h> 7#include <perf/cpumap.h>
8#include <traceevent/event-parse.h>
8#include "debug.h" 9#include "debug.h"
9#include "evlist.h" 10#include "evlist.h"
10#include "callchain.h" 11#include "callchain.h"
@@ -13,6 +14,7 @@
13#include "cpumap.h" 14#include "cpumap.h"
14#include "print_binary.h" 15#include "print_binary.h"
15#include "thread_map.h" 16#include "thread_map.h"
17#include "trace-event.h"
16#include "mmap.h" 18#include "mmap.h"
17#include "util.h" 19#include "util.h"
18#include "../perf-sys.h" 20#include "../perf-sys.h"