summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-30 11:07:23 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-31 21:24:10 -0400
commitdf1a0a110c2c0138665f6d8ec96812ea14c2d818 (patch)
treea595eade06b37d3f9655c0c51ad7ef9f3ca91d6c /tools/perf/arch
parentafce8c482c48e2c42c155eeae4cd048c2b5fbb99 (diff)
perf tools: Remove needless map.h include directives
Now that map.h isn't included by any other header, we can check where it is really needed, i.e. we can remove it and be sure that it isn't being obtained indirectly. 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-iu8ylqky7g1i9i54v3y7qovw@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch')
-rw-r--r--tools/perf/arch/arm64/util/sym-handling.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/perf/arch/arm64/util/sym-handling.c b/tools/perf/arch/arm64/util/sym-handling.c
index 27fcf24d6850..5df788985130 100644
--- a/tools/perf/arch/arm64/util/sym-handling.c
+++ b/tools/perf/arch/arm64/util/sym-handling.c
@@ -4,11 +4,9 @@
4 * Copyright (C) 2015 Naveen N. Rao, IBM Corporation 4 * Copyright (C) 2015 Naveen N. Rao, IBM Corporation
5 */ 5 */
6 6
7#include "debug.h" 7#include "symbol.h" // for the elf__needs_adjust_symbols() prototype
8#include "symbol.h" 8#include <stdbool.h>
9#include "map.h" 9#include <gelf.h>
10#include "probe-event.h"
11#include "probe-file.h"
12 10
13#ifdef HAVE_LIBELF_SUPPORT 11#ifdef HAVE_LIBELF_SUPPORT
14bool elf__needs_adjust_symbols(GElf_Ehdr ehdr) 12bool elf__needs_adjust_symbols(GElf_Ehdr ehdr)