[lkml]   [2019]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[tip:perf/core] perf powerpc: Add missing headers to skip-callchain-idx.c
Commit-ID:  d6e4ae499f25729c440714b0d902ed245a67c18f
Author: Arnaldo Carvalho de Melo <>
AuthorDate: Wed, 6 Feb 2019 09:55:51 -0300
Committer: Arnaldo Carvalho de Melo <>
CommitDate: Wed, 6 Feb 2019 10:00:38 -0300

perf powerpc: Add missing headers to skip-callchain-idx.c

It uses several structs but don't explicitely includes the headers where
they are defined, getting them by sheer luck from one of the headers it
includes, since those are being streamlined to avoid unnecessary
rebuilds when changes are made to a random header, they will break, fix
them now so that they continue to build.

Cc: Adrian Hunter <>
Cc: Jiri Olsa <>
Cc: Maynard Johnson <>
Cc: Namhyung Kim <>
Cc: Naveen N. Rao <>
Cc: Ravi Bangoria <>
Cc: Sandipan Das <>
Cc: Sukadev Bhattiprolu <>
Signed-off-by: Arnaldo Carvalho de Melo <>
tools/perf/arch/powerpc/util/skip-callchain-idx.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/tools/perf/arch/powerpc/util/skip-callchain-idx.c b/tools/perf/arch/powerpc/util/skip-callchain-idx.c
index 7c6eeb4633fe..2918bb16c892 100644
--- a/tools/perf/arch/powerpc/util/skip-callchain-idx.c
+++ b/tools/perf/arch/powerpc/util/skip-callchain-idx.c
@@ -16,6 +16,9 @@
#include "util/thread.h"
#include "util/callchain.h"
#include "util/debug.h"
+#include "util/dso.h"
+#include "util/map.h"
+#include "util/symbol.h"

* When saving the callchain on Power, the kernel conservatively saves
 \ /
  Last update: 2019-02-09 13:29    [W:0.030 / U:9.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site