diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-04-06 00:48:06 +0200 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2012-04-25 13:35:48 +0200 |
commit | 1c698186abf5caaea06fda66590f6a0e0a21628d (patch) | |
tree | b100ba4b49a8b5c11f23d00804b47835235849bf /tools/perf/util/trace-event-parse.c | |
parent | 42c80139eaa0feebf961c9792fa9eef76a3ce663 (diff) | |
download | blackbird-op-linux-1c698186abf5caaea06fda66590f6a0e0a21628d.tar.gz blackbird-op-linux-1c698186abf5caaea06fda66590f6a0e0a21628d.zip |
parse-events: Rename struct record to struct pevent_record
As libtraceevent will be a library, having struct record is far
too generic of a name to use. Renaming it to be consistent with the
rest of the functions will be a better long term solution.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Arun Sharma <asharma@fb.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'tools/perf/util/trace-event-parse.c')
-rw-r--r-- | tools/perf/util/trace-event-parse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c index 39f22f8843a2..df2fddbf0cd2 100644 --- a/tools/perf/util/trace-event-parse.c +++ b/tools/perf/util/trace-event-parse.c @@ -152,7 +152,7 @@ void *raw_field_ptr(struct event_format *event, const char *name, void *data) int trace_parse_common_type(void *data) { - struct record record; + struct pevent_record record; record.data = data; return pevent_data_type(pevent, &record); @@ -160,7 +160,7 @@ int trace_parse_common_type(void *data) int trace_parse_common_pid(void *data) { - struct record record; + struct pevent_record record; record.data = data; return pevent_data_pid(pevent, &record); @@ -180,7 +180,7 @@ struct event_format *trace_find_event(int type) void print_trace_event(int cpu, void *data, int size) { struct event_format *event; - struct record record; + struct pevent_record record; struct trace_seq s; int type; @@ -206,7 +206,7 @@ void print_trace_event(int cpu, void *data, int size) void print_event(int cpu, void *data, int size, unsigned long long nsecs, char *comm) { - struct record record; + struct pevent_record record; struct trace_seq s; int pid; |