aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-09-18 11:36:13 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-09-20 09:19:22 -0300
commitea49e01cfabd73c94a61649cd04fa524a2beff3c (patch)
tree3f8598c62cf6d33fcabf0561a8a43d49f8acf4c7 /tools/perf/util/event.c
parentperf auxtrace: Add missing 'struct perf_sample' forward declaration (diff)
downloadlinux-dev-ea49e01cfabd73c94a61649cd04fa524a2beff3c.tar.xz
linux-dev-ea49e01cfabd73c94a61649cd04fa524a2beff3c.zip
perf tools: Move event synthesizing routines to separate header
Those are the only routines using the perf_event__handler_t typedef and are all related, so move to a separate header to reduce the header dependency tree, lots of places were getting event.h and even stdio.h, limits.h indirectly, so fix those as well. 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-yvx9u1mf7baq6cu1abfhbqgs@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r--tools/perf/util/event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c
index d65ae7cf9316..043a08fc7398 100644
--- a/tools/perf/util/event.c
+++ b/tools/perf/util/event.c
@@ -32,6 +32,7 @@
#include "stat.h"
#include "session.h"
#include "bpf-event.h"
+#include "synthetic-events.h"
#include "tool.h"
#include "../perf.h"