diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-25 15:30:47 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-25 15:30:47 -0300 |
commit | 5ab8c689f7c0c97e98b8014b7f0ede386bef5aaf (patch) | |
tree | 1f0a6ccf61b7c6bf05ba51bc0673c0bf1f38dd49 /tools/perf/util/event.c | |
parent | 6db81643fe41f51cf9f6fd10558b8b323d9198ba (diff) | |
download | op-kernel-dev-5ab8c689f7c0c97e98b8014b7f0ede386bef5aaf.zip op-kernel-dev-5ab8c689f7c0c97e98b8014b7f0ede386bef5aaf.tar.gz |
perf tools: Move event prototypes from util.h to event.h
More needs to be done to have the actual functions and variables in a
smaller .c file that can then be included in the python binding,
avoiding dragging more stuff into it.
Link: http://lkml.kernel.org/n/tip-uecxz7cqkssouj7tlxrkqpl4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.c')
-rw-r--r-- | tools/perf/util/event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c index 142835c..437194f 100644 --- a/tools/perf/util/event.c +++ b/tools/perf/util/event.c @@ -8,6 +8,7 @@ #include <unistd.h> #include <uapi/linux/mman.h> /* To get things like MAP_HUGETLB even on older libc headers */ #include <api/fs/fs.h> +#include <linux/perf_event.h> #include "event.h" #include "debug.h" #include "hist.h" |