diff options
Diffstat (limited to 'tools/perf/util/trace-event.h')
-rw-r--r-- | tools/perf/util/trace-event.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/perf/util/trace-event.h b/tools/perf/util/trace-event.h index fafe1a40444a..04df63114109 100644 --- a/tools/perf/util/trace-event.h +++ b/tools/perf/util/trace-event.h | |||
@@ -11,8 +11,6 @@ union perf_event; | |||
11 | struct perf_tool; | 11 | struct perf_tool; |
12 | struct thread; | 12 | struct thread; |
13 | 13 | ||
14 | extern struct pevent *perf_pevent; | ||
15 | |||
16 | int bigendian(void); | 14 | int bigendian(void); |
17 | 15 | ||
18 | struct pevent *read_trace_init(int file_bigendian, int host_bigendian); | 16 | struct pevent *read_trace_init(int file_bigendian, int host_bigendian); |
@@ -23,26 +21,19 @@ int parse_ftrace_file(struct pevent *pevent, char *buf, unsigned long size); | |||
23 | int parse_event_file(struct pevent *pevent, | 21 | int parse_event_file(struct pevent *pevent, |
24 | char *buf, unsigned long size, char *sys); | 22 | char *buf, unsigned long size, char *sys); |
25 | 23 | ||
26 | struct pevent_record *trace_peek_data(struct pevent *pevent, int cpu); | ||
27 | |||
28 | unsigned long long | 24 | unsigned long long |
29 | raw_field_value(struct event_format *event, const char *name, void *data); | 25 | raw_field_value(struct event_format *event, const char *name, void *data); |
30 | void *raw_field_ptr(struct event_format *event, const char *name, void *data); | ||
31 | 26 | ||
32 | void parse_proc_kallsyms(struct pevent *pevent, char *file, unsigned int size); | 27 | void parse_proc_kallsyms(struct pevent *pevent, char *file, unsigned int size); |
33 | void parse_ftrace_printk(struct pevent *pevent, char *file, unsigned int size); | 28 | void parse_ftrace_printk(struct pevent *pevent, char *file, unsigned int size); |
34 | 29 | ||
35 | ssize_t trace_report(int fd, struct pevent **pevent, bool repipe); | 30 | ssize_t trace_report(int fd, struct pevent **pevent, bool repipe); |
36 | 31 | ||
37 | int trace_parse_common_type(struct pevent *pevent, void *data); | ||
38 | int trace_parse_common_pid(struct pevent *pevent, void *data); | ||
39 | |||
40 | struct event_format *trace_find_next_event(struct pevent *pevent, | 32 | struct event_format *trace_find_next_event(struct pevent *pevent, |
41 | struct event_format *event); | 33 | struct event_format *event); |
42 | unsigned long long read_size(struct event_format *event, void *ptr, int size); | 34 | unsigned long long read_size(struct event_format *event, void *ptr, int size); |
43 | unsigned long long eval_flag(const char *flag); | 35 | unsigned long long eval_flag(const char *flag); |
44 | 36 | ||
45 | struct pevent_record *trace_read_data(struct pevent *pevent, int cpu); | ||
46 | int read_tracing_data(int fd, struct list_head *pattrs); | 37 | int read_tracing_data(int fd, struct list_head *pattrs); |
47 | 38 | ||
48 | struct tracing_data { | 39 | struct tracing_data { |