mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
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>
This commit is contained in:
parent
afce8c482c
commit
df1a0a110c
3 changed files with 3 additions and 7 deletions
|
@ -4,11 +4,9 @@
|
||||||
* Copyright (C) 2015 Naveen N. Rao, IBM Corporation
|
* Copyright (C) 2015 Naveen N. Rao, IBM Corporation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "debug.h"
|
#include "symbol.h" // for the elf__needs_adjust_symbols() prototype
|
||||||
#include "symbol.h"
|
#include <stdbool.h>
|
||||||
#include "map.h"
|
#include <gelf.h>
|
||||||
#include "probe-event.h"
|
|
||||||
#include "probe-file.h"
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBELF_SUPPORT
|
#ifdef HAVE_LIBELF_SUPPORT
|
||||||
bool elf__needs_adjust_symbols(GElf_Ehdr ehdr)
|
bool elf__needs_adjust_symbols(GElf_Ehdr ehdr)
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
#include "tests.h"
|
#include "tests.h"
|
||||||
#include "machine.h"
|
#include "machine.h"
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
#include "map.h"
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
int test__thread_mg_share(struct test *test __maybe_unused, int subtest __maybe_unused)
|
int test__thread_mg_share(struct test *test __maybe_unused, int subtest __maybe_unused)
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include "evsel.h"
|
#include "evsel.h"
|
||||||
#include "evlist.h"
|
#include "evlist.h"
|
||||||
#include "machine.h"
|
#include "machine.h"
|
||||||
#include "map.h"
|
|
||||||
#include "symbol.h"
|
#include "symbol.h"
|
||||||
#include "session.h"
|
#include "session.h"
|
||||||
#include "tool.h"
|
#include "tool.h"
|
||||||
|
|
Loading…
Reference in a new issue