diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-18 14:36:13 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-20 12:19:22 +0000 |
| commit | ea49e01cfabd73c94a61649cd04fa524a2beff3c (patch) | |
| tree | 3f8598c62cf6d33fcabf0561a8a43d49f8acf4c7 /tools/perf/builtin-stat.c | |
| parent | perf auxtrace: Add missing 'struct perf_sample' forward declaration (diff) | |
| download | kernel-ea49e01cfabd73c94a61649cd04fa524a2beff3c.tar.gz kernel-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 <[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/builtin-stat.c')
| -rw-r--r-- | tools/perf/builtin-stat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index b55e8060810b..eece3d1e429a 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c @@ -61,6 +61,7 @@ #include "util/tool.h" #include "util/string2.h" #include "util/metricgroup.h" +#include "util/synthetic-events.h" #include "util/target.h" #include "util/time-utils.h" #include "util/top.h" |
