diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-18 10:36:13 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-20 08:19:22 -0400 |
commit | ea49e01cfabd73c94a61649cd04fa524a2beff3c (patch) | |
tree | 3f8598c62cf6d33fcabf0561a8a43d49f8acf4c7 /tools/perf/builtin-record.c | |
parent | bd23ac11fe9312bab40e129b402757fd7a23dc8e (diff) |
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 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 1447004eee8a..907d4d4677a3 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include "util/trigger.h" | 38 | #include "util/trigger.h" |
39 | #include "util/perf-hooks.h" | 39 | #include "util/perf-hooks.h" |
40 | #include "util/cpu-set-sched.h" | 40 | #include "util/cpu-set-sched.h" |
41 | #include "util/synthetic-events.h" | ||
41 | #include "util/time-utils.h" | 42 | #include "util/time-utils.h" |
42 | #include "util/units.h" | 43 | #include "util/units.h" |
43 | #include "util/bpf-event.h" | 44 | #include "util/bpf-event.h" |