aboutsummaryrefslogtreecommitdiffstats
path: root/trace-cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'trace-cmd.h')
-rw-r--r--trace-cmd.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/trace-cmd.h b/trace-cmd.h
index cdd31e1..afd7d6b 100644
--- a/trace-cmd.h
+++ b/trace-cmd.h
@@ -34,33 +34,33 @@ struct record {
34 void *data; 34 void *data;
35}; 35};
36 36
37struct tracecmd_handle; 37struct tracecmd_input;
38 38
39struct tracecmd_handle *tracecmd_open(int fd); 39struct tracecmd_input *tracecmd_open(int fd);
40int tracecmd_read_headers(struct tracecmd_handle *handle); 40int tracecmd_read_headers(struct tracecmd_input *handle);
41int tracecmd_long_size(struct tracecmd_handle *handle); 41int tracecmd_long_size(struct tracecmd_input *handle);
42int tracecmd_page_size(struct tracecmd_handle *handle); 42int tracecmd_page_size(struct tracecmd_input *handle);
43int tracecmd_cpus(struct tracecmd_handle *handle); 43int tracecmd_cpus(struct tracecmd_input *handle);
44 44
45int tracecmd_init_data(struct tracecmd_handle *handle); 45int tracecmd_init_data(struct tracecmd_input *handle);
46 46
47struct record * 47struct record *
48tracecmd_peek_data(struct tracecmd_handle *handle, int cpu); 48tracecmd_peek_data(struct tracecmd_input *handle, int cpu);
49 49
50struct record * 50struct record *
51tracecmd_read_data(struct tracecmd_handle *handle, int cpu); 51tracecmd_read_data(struct tracecmd_input *handle, int cpu);
52 52
53struct record * 53struct record *
54tracecmd_read_at(struct tracecmd_handle *handle, unsigned long long offset, 54tracecmd_read_at(struct tracecmd_input *handle, unsigned long long offset,
55 int *cpu); 55 int *cpu);
56struct record * 56struct record *
57tracecmd_translate_data(struct tracecmd_handle *handle, 57tracecmd_translate_data(struct tracecmd_input *handle,
58 void *ptr, int size); 58 void *ptr, int size);
59 59
60int tracecmd_ftrace_overrides(struct tracecmd_handle *handle); 60int tracecmd_ftrace_overrides(struct tracecmd_input *handle);
61struct pevent *tracecmd_get_pevent(struct tracecmd_handle *handle); 61struct pevent *tracecmd_get_pevent(struct tracecmd_input *handle);
62 62
63/* hack for function graph work around */ 63/* hack for function graph work around */
64extern __thread struct tracecmd_handle *tracecmd_curr_thread_handle; 64extern __thread struct tracecmd_input *tracecmd_curr_thread_handle;
65 65
66#endif /* _TRACE_CMD_H */ 66#endif /* _TRACE_CMD_H */