Commit 7405ed10f6adcdd556d59c360b5b216fccada3d9

Authored by Arnaldo Carvalho de Melo
1 parent a3f698fe30

perf session: Remove no longer used synthesize_sample method

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-jd8tqbx8o8bs4t4g50vyhoc2@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

Showing 2 changed files with 0 additions and 12 deletions Side-by-side Diff

tools/perf/util/session.c
... ... @@ -16,14 +16,6 @@
16 16 #include "cpumap.h"
17 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 19 static int perf_session__open(struct perf_session *self, bool force)
28 20 {
29 21 struct stat input_stat;
tools/perf/util/session.h
... ... @@ -126,10 +126,6 @@
126 126  
127 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 129 struct perf_evsel *perf_session__find_first_evtype(struct perf_session *session,
134 130 unsigned int type);
135 131