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/util/session.h | |
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/util/session.h')
-rw-r--r-- | tools/perf/util/session.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index b7aa076ab6fd..b4c9428c18f0 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h | |||
@@ -138,9 +138,4 @@ int perf_session__deliver_synth_event(struct perf_session *session, | |||
138 | int perf_event__process_id_index(struct perf_session *session, | 138 | int perf_event__process_id_index(struct perf_session *session, |
139 | union perf_event *event); | 139 | union perf_event *event); |
140 | 140 | ||
141 | int perf_event__synthesize_id_index(struct perf_tool *tool, | ||
142 | perf_event__handler_t process, | ||
143 | struct evlist *evlist, | ||
144 | struct machine *machine); | ||
145 | |||
146 | #endif /* __PERF_SESSION_H */ | 141 | #endif /* __PERF_SESSION_H */ |