summaryrefslogtreecommitdiff
path: root/tools/perf/util/evsel_fprintf.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-09-10 19:24:07 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-09-20 15:19:21 +0300
commit9c9e754fb804828473c5131bb3e7df78bde396e6 (patch)
treede71795e05a1fafd4fb68de51b35da7a262e5583 /tools/perf/util/evsel_fprintf.c
parentb251892d6ceafa3c8f8e6835a664e248766b1b3e (diff)
downloadlinux-9c9e754fb804828473c5131bb3e7df78bde396e6.tar.xz
perf callchain: Remove needless event.h include
All we need is a bunch of struct forward declarations and then add event.h to the only place that was getting it indirectly via callchain.h. 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-qq2xhyuxcvx5vmxha9otjd8d@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/evsel_fprintf.c')
-rw-r--r--tools/perf/util/evsel_fprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/evsel_fprintf.c b/tools/perf/util/evsel_fprintf.c
index 496fec01f5d1..a8cbdf4c2753 100644
--- a/tools/perf/util/evsel_fprintf.c
+++ b/tools/perf/util/evsel_fprintf.c
@@ -4,6 +4,7 @@
#include <stdbool.h>
#include <traceevent/event-parse.h>
#include "evsel.h"
+#include "util/event.h"
#include "callchain.h"
#include "map.h"
#include "strlist.h"