perf session: Remove no longer used synthesize_sample method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Aug 2012 00:01:17 +0000 (21:01 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Aug 2012 00:02:02 +0000 (21:02 -0300)
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>
tools/perf/util/session.c
tools/perf/util/session.h

index 7d07324db41cb2e5b539eedb1bde861db09282bf..2437fb0b463a21566ad9c8679861456e4f2b3f05 100644 (file)
 #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;
index 7389fb1f010a2c36482e9d289df21bc8c948d0db..1f7ec87db7d7369083895d596a979db460865d23 100644 (file)
@@ -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);