diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-08-02 20:01:17 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-08-02 20:02:02 -0400 |
commit | 7405ed10f6adcdd556d59c360b5b216fccada3d9 (patch) | |
tree | ea5fde8bc24fb70bdfc0cae04d720e1308d71449 | |
parent | a3f698fe3082ff80a7f3b27c9b64b4b748c81f9d (diff) |
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>
-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 | ||