aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/powerpc
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/powerpc
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 'tools/perf/arch/powerpc')
-rw-r--r--tools/perf/arch/powerpc/util/unwind-libdw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/powerpc/util/unwind-libdw.c b/tools/perf/arch/powerpc/util/unwind-libdw.c
index 7a1f05ef2fc0..abf2dbc7f829 100644
--- a/tools/perf/arch/powerpc/util/unwind-libdw.c
+++ b/tools/perf/arch/powerpc/util/unwind-libdw.c
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include <elfutils/libdwfl.h>
+#include <linux/kernel.h>
#include "../../util/unwind-libdw.h"
#include "../../util/perf_regs.h"
#include "../../util/event.h"