aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/common.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-29 17:10:59 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-31 19:10:40 -0300
commitb6b5574b80d6ce6ca87ae3ea1e97cff1bf730f2e (patch)
tree2c7d4cd02b49a1778e6e9df66eb0b38224dca8ce /tools/perf/arch/common.h
parentperf debug: Remove needless include directives from debug.h (diff)
downloadlinux-dev-b6b5574b80d6ce6ca87ae3ea1e97cff1bf730f2e.tar.xz
linux-dev-b6b5574b80d6ce6ca87ae3ea1e97cff1bf730f2e.zip
perf env: Remove env.h from other headers where just a fwd decl is needed
And fixup the fallout of c files not building due to now missing headers. 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-sw8k3kpla98pr3rqypbjk9hf@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/common.h')
-rw-r--r--tools/perf/arch/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/arch/common.h b/tools/perf/arch/common.h
index c298a446d1f6..e965ed8bb328 100644
--- a/tools/perf/arch/common.h
+++ b/tools/perf/arch/common.h
@@ -2,7 +2,9 @@
#ifndef ARCH_PERF_COMMON_H
#define ARCH_PERF_COMMON_H
-#include "../util/env.h"
+#include <stdbool.h>
+
+struct perf_env;
int perf_env__lookup_objdump(struct perf_env *env, const char **path);
bool perf_env__single_address_space(struct perf_env *env);