aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/x86/util/perf_regs.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-29 17:19:02 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-31 22:19:24 -0300
commit4cb3c6d546aa5493a960d05eb73bad8e69a58574 (patch)
treeb305230b01e3f9bd50d1b4a37065fe175e7dbba5 /tools/perf/arch/x86/util/perf_regs.c
parentperf env: Remove env.h from other headers where just a fwd decl is needed (diff)
downloadlinux-dev-4cb3c6d546aa5493a960d05eb73bad8e69a58574.tar.xz
linux-dev-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 '')
-rw-r--r--tools/perf/arch/x86/util/perf_regs.c1
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"