diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-30 13:45:20 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-31 21:24:10 -0400 |
commit | f2a39fe84901df2b3d1bec3459b65cee3e8db57c (patch) | |
tree | 399cb01cdf9a8c771e734ed4344a18840845f9bf /tools/perf/util/bpf-loader.c | |
parent | fa0d98462fae5d4951f22f3ac1090d48c53396d1 (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/bpf-loader.c')
-rw-r--r-- | tools/perf/util/bpf-loader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/bpf-loader.c b/tools/perf/util/bpf-loader.c index c1a57323e25d..37283e865352 100644 --- a/tools/perf/util/bpf-loader.c +++ b/tools/perf/util/bpf-loader.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/string.h> | 14 | #include <linux/string.h> |
15 | #include <linux/zalloc.h> | 15 | #include <linux/zalloc.h> |
16 | #include <errno.h> | 16 | #include <errno.h> |
17 | #include <stdlib.h> | ||
17 | #include "debug.h" | 18 | #include "debug.h" |
18 | #include "evlist.h" | 19 | #include "evlist.h" |
19 | #include "bpf-loader.h" | 20 | #include "bpf-loader.h" |