summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-01-29 16:02:00 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-01-29 19:25:20 +0100
commit8d50e5b4171a69cf48ca94a1e7c14033d0b4771d (patch)
tree6ebf659f92f0770917c7f47c24449ebfe048ce61 /tools/perf/builtin-script.c
parentperf top: Switch to non overwrite mode (diff)
downloadlinux-8d50e5b4171a69cf48ca94a1e7c14033d0b4771d.tar.xz
linux-8d50e5b4171a69cf48ca94a1e7c14033d0b4771d.zip
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-script.c')
-rw-r--r--tools/perf/builtin-script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index b766c2a9ac97..5c4c809008af 100644
--- a/tools/perf/builtin-script.c
+++ b/tools/perf/builtin-script.c
@@ -63,7 +63,7 @@ static int cleanup_scripting(void)
static char const *input_name = "perf.data";
-static int process_sample_event(event_t *event, struct sample_data *sample,
+static int process_sample_event(event_t *event, struct perf_sample *sample,
struct perf_session *session)
{
struct thread *thread = perf_session__findnew(session, event->ip.pid);