aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-01-27 23:03:34 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-02-06 13:00:38 +0000
commitdaecf9e0fa8e1bb3b227fcc15c4070caccbbb14f (patch)
tree30f8fcb8d6ddd52aff97e607390f672d335576d9 /tools/perf/util/scripting-engines/trace-event-python.c
parentperf hist: Remove symbol.h from hist.h, just fwd decls are needed (diff)
downloadkernel-daecf9e0fa8e1bb3b227fcc15c4070caccbbb14f.tar.gz
kernel-daecf9e0fa8e1bb3b227fcc15c4070caccbbb14f.zip
perf tools: Add missing include for symbols.h
Several places were using definitions found in symbols.h but not including it, getting it by sheer luck from some other headers that now are in the process of removing that include because they don't need it or because simply having struct forward declarations is enough, fix it. Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
-rw-r--r--tools/perf/util/scripting-engines/trace-event-python.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c
index d9c83776a80f..0e17db41b49b 100644
--- a/tools/perf/util/scripting-engines/trace-event-python.c
+++ b/tools/perf/util/scripting-engines/trace-event-python.c
@@ -45,6 +45,7 @@
#include "../trace-event.h"
#include "../call-path.h"
#include "map.h"
+#include "symbol.h"
#include "thread_map.h"
#include "cpumap.h"
#include "print_binary.h"