diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-11-24 18:46:57 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-11-24 18:46:57 -0500 |
commit | 832c926079b9389e51ada203511da4b51c5a0206 (patch) | |
tree | 60ac0213b6a984111f0e366f9bcd320cc78893bd | |
parent | c6af25b50ce129fbc9c8db6135db4dd65499b65a (diff) |
Rename print_event to pevent_print_event
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | parse-events.c | 4 | ||||
-rw-r--r-- | parse-events.h | 5 | ||||
-rw-r--r-- | trace-read.c | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/parse-events.c b/parse-events.c index c0b2c46..aac5561 100644 --- a/parse-events.c +++ b/parse-events.c | |||
@@ -3192,8 +3192,8 @@ pretty_print_func_graph(struct trace_seq *s, | |||
3192 | trace_seq_putc(s, '\n'); | 3192 | trace_seq_putc(s, '\n'); |
3193 | } | 3193 | } |
3194 | 3194 | ||
3195 | void print_event(struct trace_seq *s, | 3195 | void pevent_print_event(struct trace_seq *s, |
3196 | int cpu, void *data, int size, unsigned long long nsecs) | 3196 | int cpu, void *data, int size, unsigned long long nsecs) |
3197 | { | 3197 | { |
3198 | struct event *event; | 3198 | struct event *event; |
3199 | unsigned long secs; | 3199 | unsigned long secs; |
diff --git a/parse-events.h b/parse-events.h index 93c0eb5..8ae56fd 100644 --- a/parse-events.h +++ b/parse-events.h | |||
@@ -224,8 +224,6 @@ void parse_ftrace_printk(char *file, unsigned int size); | |||
224 | 224 | ||
225 | int parse_ftrace_file(char *buf, unsigned long size); | 225 | int parse_ftrace_file(char *buf, unsigned long size); |
226 | int parse_event_file(char *buf, unsigned long size, char *sys); | 226 | int parse_event_file(char *buf, unsigned long size, char *sys); |
227 | void print_event(struct trace_seq *s, | ||
228 | int cpu, void *data, int size, unsigned long long nsecs); | ||
229 | 227 | ||
230 | extern int file_bigendian; | 228 | extern int file_bigendian; |
231 | extern int host_bigendian; | 229 | extern int host_bigendian; |
@@ -307,6 +305,9 @@ int pevent_register_comm(char *comm, int pid); | |||
307 | int pevent_register_function(char *name, unsigned long long addr, char *mod); | 305 | int pevent_register_function(char *name, unsigned long long addr, char *mod); |
308 | int pevent_register_print_string(char *fmt, unsigned long long addr); | 306 | int pevent_register_print_string(char *fmt, unsigned long long addr); |
309 | 307 | ||
308 | void pevent_print_event(struct trace_seq *s, | ||
309 | int cpu, void *data, int size, unsigned long long nsecs); | ||
310 | |||
310 | /* for debugging */ | 311 | /* for debugging */ |
311 | void pevent_print_funcs(void); | 312 | void pevent_print_funcs(void); |
312 | void pevent_print_printk(void); | 313 | void pevent_print_printk(void); |
diff --git a/trace-read.c b/trace-read.c index 7822702..a57d02f 100644 --- a/trace-read.c +++ b/trace-read.c | |||
@@ -608,7 +608,7 @@ static void show_data(int cpu) | |||
608 | record = trace_read_data(cpu); | 608 | record = trace_read_data(cpu); |
609 | 609 | ||
610 | trace_seq_init(&s); | 610 | trace_seq_init(&s); |
611 | print_event(&s, cpu, record->data, record->size, record->ts); | 611 | pevent_print_event(&s, cpu, record->data, record->size, record->ts); |
612 | trace_seq_do_printf(&s); | 612 | trace_seq_do_printf(&s); |
613 | 613 | ||
614 | free(record); | 614 | free(record); |