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.h | |
parent | 42c80139eaa0feebf961c9792fa9eef76a3ce663 (diff) | |
download | linux-1c698186abf5caaea06fda66590f6a0e0a21628d.tar.gz linux-1c698186abf5caaea06fda66590f6a0e0a21628d.tar.bz2 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.h')
-rw-r--r-- | tools/perf/util/trace-event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/trace-event.h b/tools/perf/util/trace-event.h index 112bc2aa72e1..639852ac1117 100644 --- a/tools/perf/util/trace-event.h +++ b/tools/perf/util/trace-event.h @@ -38,7 +38,7 @@ void print_event(int cpu, void *data, int size, unsigned long long nsecs, int parse_ftrace_file(char *buf, unsigned long size); int parse_event_file(char *buf, unsigned long size, char *sys); -struct record *trace_peek_data(int cpu); +struct pevent_record *trace_peek_data(int cpu); struct event_format *trace_find_event(int type); unsigned long long @@ -57,7 +57,7 @@ struct event_format *trace_find_next_event(struct event_format *event); unsigned long long read_size(void *ptr, int size); unsigned long long eval_flag(const char *flag); -struct record *trace_read_data(int cpu); +struct pevent_record *trace_read_data(int cpu); int read_tracing_data(int fd, struct list_head *pattrs); struct tracing_data { |