diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-29 17:19:02 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-31 22:19:24 -0300 |
commit | 4cb3c6d546aa5493a960d05eb73bad8e69a58574 (patch) | |
tree | b305230b01e3f9bd50d1b4a37065fe175e7dbba5 /tools/perf/arch/x86 | |
parent | b6b5574b80d6ce6ca87ae3ea1e97cff1bf730f2e (diff) | |
download | linux-stable-4cb3c6d546aa5493a960d05eb73bad8e69a58574.tar.gz linux-stable-4cb3c6d546aa5493a960d05eb73bad8e69a58574.tar.bz2 linux-stable-4cb3c6d546aa5493a960d05eb73bad8e69a58574.zip |
perf event: Remove needless include directives from event.h
bpf.h and build-id.h are not needed at all in event.h, remove them.
And fixup the fallout of files that were getting needed stuff from this
now pruned include.
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-rdm3dgtlrndmmnlc4bafsg3b@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/x86')
-rw-r--r-- | tools/perf/arch/x86/util/perf_regs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/util/perf_regs.c b/tools/perf/arch/x86/util/perf_regs.c index 99ea60211e16..c218b83e063b 100644 --- a/tools/perf/arch/x86/util/perf_regs.c +++ b/tools/perf/arch/x86/util/perf_regs.c @@ -2,6 +2,7 @@ #include <errno.h> #include <string.h> #include <regex.h> +#include <linux/kernel.h> #include <linux/zalloc.h> #include "../../perf-sys.h" |