aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-inject.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-01-29 10:02:00 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-01-29 13:25:20 -0500
commit8d50e5b4171a69cf48ca94a1e7c14033d0b4771d (patch)
tree6ebf659f92f0770917c7f47c24449ebfe048ce61 /tools/perf/builtin-inject.c
parent93fc64f14472ae24fd640bf3834a178f59142842 (diff)
perf tools: Rename 'struct sample_data' to 'struct perf_sample'
Making the namespace more uniform. Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-inject.c')
-rw-r--r--tools/perf/builtin-inject.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c
index 0c78ffa7bf67..4c9388ce878c 100644
--- a/tools/perf/builtin-inject.c
+++ b/tools/perf/builtin-inject.c
@@ -36,13 +36,13 @@ static int event__repipe_synth(event_t *event,
36 return 0; 36 return 0;
37} 37}
38 38
39static int event__repipe(event_t *event, struct sample_data *sample __used, 39static int event__repipe(event_t *event, struct perf_sample *sample __used,
40 struct perf_session *session) 40 struct perf_session *session)
41{ 41{
42 return event__repipe_synth(event, session); 42 return event__repipe_synth(event, session);
43} 43}
44 44
45static int event__repipe_mmap(event_t *self, struct sample_data *sample, 45static int event__repipe_mmap(event_t *self, struct perf_sample *sample,
46 struct perf_session *session) 46 struct perf_session *session)
47{ 47{
48 int err; 48 int err;
@@ -53,7 +53,7 @@ static int event__repipe_mmap(event_t *self, struct sample_data *sample,
53 return err; 53 return err;
54} 54}
55 55
56static int event__repipe_task(event_t *self, struct sample_data *sample, 56static int event__repipe_task(event_t *self, struct perf_sample *sample,
57 struct perf_session *session) 57 struct perf_session *session)
58{ 58{
59 int err; 59 int err;
@@ -119,7 +119,7 @@ static int dso__inject_build_id(struct dso *self, struct perf_session *session)
119 return 0; 119 return 0;
120} 120}
121 121
122static int event__inject_buildid(event_t *event, struct sample_data *sample, 122static int event__inject_buildid(event_t *event, struct perf_sample *sample,
123 struct perf_session *session) 123 struct perf_session *session)
124{ 124{
125 struct addr_location al; 125 struct addr_location al;