diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-29 17:59:50 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-29 20:38:32 +0000 |
| commit | 91854f9a077e18e43ed30ebe9c61f8089bec9166 (patch) | |
| tree | becf4f07f651257a1e5cc36f2d2408bc6c4e9965 /tools/perf/util/python.c | |
| parent | perf header: Move CPUINFO_PROC to the only file where it is used (diff) | |
| download | kernel-91854f9a077e18e43ed30ebe9c61f8089bec9166.tar.gz kernel-91854f9a077e18e43ed30ebe9c61f8089bec9166.zip | |
perf tools: Move everything related to sys_perf_event_open() to perf-sys.h
And remove unneeded include directives from perf-sys.h to prune the
header dependency tree.
Fixup the fallout in places where definitions were being used without
the needed include directives that were being satisfied because they
were in perf-sys.h.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index 11479a7ad1c7..9dd83871aafe 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c @@ -14,6 +14,7 @@ #include "thread_map.h" #include "mmap.h" #include "util.h" +#include "../perf-sys.h" #if PY_MAJOR_VERSION < 3 #define _PyUnicode_FromString(arg) \ |
