diff options
Diffstat (limited to 'tools/perf/util')
-rw-r--r-- | tools/perf/util/session.c | 8 | ||||
-rw-r--r-- | tools/perf/util/session.h | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 7d07324db41c..2437fb0b463a 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c | |||
@@ -16,14 +16,6 @@ | |||
16 | #include "cpumap.h" | 16 | #include "cpumap.h" |
17 | #include "event-parse.h" | 17 | #include "event-parse.h" |
18 | 18 | ||
19 | int perf_session__synthesize_sample(struct perf_session *session, | ||
20 | union perf_event *event, | ||
21 | const struct perf_sample *sample) | ||
22 | { | ||
23 | return perf_event__synthesize_sample(event, perf_evlist__sample_type(session->evlist), | ||
24 | sample, session->header.needs_swap); | ||
25 | } | ||
26 | |||
27 | static int perf_session__open(struct perf_session *self, bool force) | 19 | static int perf_session__open(struct perf_session *self, bool force) |
28 | { | 20 | { |
29 | struct stat input_stat; | 21 | struct stat input_stat; |
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index 7389fb1f010a..1f7ec87db7d7 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h | |||
@@ -126,10 +126,6 @@ size_t perf_session__fprintf_dsos_buildid(struct perf_session *self, | |||
126 | 126 | ||
127 | size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp); | 127 | size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp); |
128 | 128 | ||
129 | int perf_session__synthesize_sample(struct perf_session *session, | ||
130 | union perf_event *event, | ||
131 | const struct perf_sample *sample); | ||
132 | |||
133 | struct perf_evsel *perf_session__find_first_evtype(struct perf_session *session, | 129 | struct perf_evsel *perf_session__find_first_evtype(struct perf_session *session, |
134 | unsigned int type); | 130 | unsigned int type); |
135 | 131 | ||