diff options
Diffstat (limited to 'trace-cmd.h')
-rw-r--r-- | trace-cmd.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/trace-cmd.h b/trace-cmd.h index 0ebed96..cdd31e1 100644 --- a/trace-cmd.h +++ b/trace-cmd.h | |||
@@ -10,11 +10,11 @@ extern const char *input_file; | |||
10 | #define PAGE_MASK (page_size - 1) | 10 | #define PAGE_MASK (page_size - 1) |
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | void parse_cmdlines(char *file, int size); | 13 | void parse_cmdlines(struct pevent *pevent, char *file, int size); |
14 | void parse_proc_kallsyms(char *file, unsigned int size); | 14 | void parse_proc_kallsyms(struct pevent *pevent, char *file, unsigned int size); |
15 | void parse_ftrace_printk(char *file, unsigned int size); | 15 | void parse_ftrace_printk(char *file, unsigned int size); |
16 | 16 | ||
17 | int trace_load_plugins(void); | 17 | int trace_load_plugins(struct pevent *pevent); |
18 | 18 | ||
19 | enum { | 19 | enum { |
20 | RINGBUF_TYPE_PADDING = 29, | 20 | RINGBUF_TYPE_PADDING = 29, |
@@ -57,7 +57,8 @@ struct record * | |||
57 | tracecmd_translate_data(struct tracecmd_handle *handle, | 57 | tracecmd_translate_data(struct tracecmd_handle *handle, |
58 | void *ptr, int size); | 58 | void *ptr, int size); |
59 | 59 | ||
60 | int tracecmd_ftrace_overrides(void); | 60 | int tracecmd_ftrace_overrides(struct tracecmd_handle *handle); |
61 | struct pevent *tracecmd_get_pevent(struct tracecmd_handle *handle); | ||
61 | 62 | ||
62 | /* hack for function graph work around */ | 63 | /* hack for function graph work around */ |
63 | extern __thread struct tracecmd_handle *tracecmd_curr_thread_handle; | 64 | extern __thread struct tracecmd_handle *tracecmd_curr_thread_handle; |