Skip to content

Commit

Permalink
perf session: Remove no longer used synthesize_sample method
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
acmel committed Aug 3, 2012
1 parent a3f698f commit 7405ed1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions tools/perf/util/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions tools/perf/util/session.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7405ed1

Please sign in to comment.