Commit-ID:  7405ed10f6adcdd556d59c360b5b216fccada3d9
Gitweb:     http://git.kernel.org/tip/7405ed10f6adcdd556d59c360b5b216fccada3d9
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Thu, 2 Aug 2012 21:01:17 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 2 Aug 2012 21:02:02 -0300

perf session: Remove no longer used synthesize_sample method

Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
 tools/perf/util/session.c |    8 --------
 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 7d07324..2437fb0 100644
--- a/tools/perf/util/session.c
+++ b/tools/perf/util/session.c
@@ -16,14 +16,6 @@
 #include "cpumap.h"
 #include "event-parse.h"
 
-int perf_session__synthesize_sample(struct perf_session *session,
-                                   union perf_event *event,
-                                   const struct perf_sample *sample)
-{
-       return perf_event__synthesize_sample(event, 
perf_evlist__sample_type(session->evlist),
-                                            sample, 
session->header.needs_swap);
-}
-
 static int perf_session__open(struct perf_session *self, bool force)
 {
        struct stat input_stat;
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h
index 7389fb1..1f7ec87 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,
 
 size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp);
 
-int perf_session__synthesize_sample(struct perf_session *session,
-                                   union perf_event *event,
-                                   const struct perf_sample *sample);
-
 struct perf_evsel *perf_session__find_first_evtype(struct perf_session 
*session,
                                            unsigned int type);
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to