aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-timechart.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-timechart.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-timechart.c')
-rw-r--r--tools/perf/builtin-timechart.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c
index 746cf03cb05d..01cf0c3771a6 100644
--- a/tools/perf/builtin-timechart.c
+++ b/tools/perf/builtin-timechart.c
@@ -276,21 +276,21 @@ static int cpus_cstate_state[MAX_CPUS];
276static u64 cpus_pstate_start_times[MAX_CPUS]; 276static u64 cpus_pstate_start_times[MAX_CPUS];
277static u64 cpus_pstate_state[MAX_CPUS]; 277static u64 cpus_pstate_state[MAX_CPUS];
278 278
279static int process_comm_event(event_t *event, struct sample_data *sample __used, 279static int process_comm_event(event_t *event, struct perf_sample *sample __used,
280 struct perf_session *session __used) 280 struct perf_session *session __used)
281{ 281{
282 pid_set_comm(event->comm.tid, event->comm.comm); 282 pid_set_comm(event->comm.tid, event->comm.comm);
283 return 0; 283 return 0;
284} 284}
285 285
286static int process_fork_event(event_t *event, struct sample_data *sample __used, 286static int process_fork_event(event_t *event, struct perf_sample *sample __used,
287 struct perf_session *session __used) 287 struct perf_session *session __used)
288{ 288{
289 pid_fork(event->fork.pid, event->fork.ppid, event->fork.time); 289 pid_fork(event->fork.pid, event->fork.ppid, event->fork.time);
290 return 0; 290 return 0;
291} 291}
292 292
293static int process_exit_event(event_t *event, struct sample_data *sample __used, 293static int process_exit_event(event_t *event, struct perf_sample *sample __used,
294 struct perf_session *session __used) 294 struct perf_session *session __used)
295{ 295{
296 pid_exit(event->fork.pid, event->fork.time); 296 pid_exit(event->fork.pid, event->fork.time);
@@ -487,7 +487,7 @@ static void sched_switch(int cpu, u64 timestamp, struct trace_entry *te)
487 487
488 488
489static int process_sample_event(event_t *event __used, 489static int process_sample_event(event_t *event __used,
490 struct sample_data *sample, 490 struct perf_sample *sample,
491 struct perf_session *session) 491 struct perf_session *session)
492{ 492{
493 struct trace_entry *te; 493 struct trace_entry *te;