summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-09-03 09:11:53 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-09-20 08:19:20 -0400
commit4a903c2e151423be9af19c7eb35d4667be21c4c1 (patch)
treefebf71513ccff1daf8fcef85f19271c11d210e32 /tools/perf/arch
parentb22bb139dcb370cd3a7f3c5ae29d55bb69235ace (diff)
perf tools: Remove debug.h from places where it is not needed
Pruning a bit more the includes dependency tree. Building this thing on lots of containers takes time, we better reduce the time per build, each container is doing 6 builds when clang and clang-devel are available, and the plan is to do a 'make -C tools/perf build-test' that have many more. Also helps when doing normal development, as touching some random file will have a much reduced chance of triggering lots of rebuilds. 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-r889ur2cxe16m91m2a4pl15p@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/unwind-libunwind.c2
-rw-r--r--tools/perf/arch/powerpc/util/sym-handling.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/arch/arm64/util/unwind-libunwind.c b/tools/perf/arch/arm64/util/unwind-libunwind.c
index 002520d4036b..1495a9523a23 100644
--- a/tools/perf/arch/arm64/util/unwind-libunwind.c
+++ b/tools/perf/arch/arm64/util/unwind-libunwind.c
@@ -5,8 +5,8 @@
5#include <libunwind.h> 5#include <libunwind.h>
6#include "perf_regs.h" 6#include "perf_regs.h"
7#include "../../util/unwind.h" 7#include "../../util/unwind.h"
8#include "../../util/debug.h"
9#endif 8#endif
9#include "../../util/debug.h"
10 10
11int LIBUNWIND__ARCH_REG_ID(int regnum) 11int LIBUNWIND__ARCH_REG_ID(int regnum)
12{ 12{
diff --git a/tools/perf/arch/powerpc/util/sym-handling.c b/tools/perf/arch/powerpc/util/sym-handling.c
index 8a4b717e0a53..abb7a12d8f93 100644
--- a/tools/perf/arch/powerpc/util/sym-handling.c
+++ b/tools/perf/arch/powerpc/util/sym-handling.c
@@ -4,7 +4,6 @@
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"
8#include "dso.h" 7#include "dso.h"
9#include "symbol.h" 8#include "symbol.h"
10#include "map.h" 9#include "map.h"