From 1c698186abf5caaea06fda66590f6a0e0a21628d Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 6 Apr 2012 00:48:06 +0200 Subject: 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 Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Steven Rostedt Cc: Borislav Petkov Cc: Jiri Olsa Cc: Arun Sharma Cc: Namhyung Kim Signed-off-by: Frederic Weisbecker --- tools/perf/util/trace-event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/perf/util/trace-event.h') 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 { -- cgit v1.2.3