diff options
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index c1ec134ac356..ee53d706066f 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -135,9 +135,13 @@ struct tracer { | |||
135 | void (*init)(struct trace_array *tr); | 135 | void (*init)(struct trace_array *tr); |
136 | void (*reset)(struct trace_array *tr); | 136 | void (*reset)(struct trace_array *tr); |
137 | void (*open)(struct trace_iterator *iter); | 137 | void (*open)(struct trace_iterator *iter); |
138 | void (*pipe_open)(struct trace_iterator *iter); | ||
138 | void (*close)(struct trace_iterator *iter); | 139 | void (*close)(struct trace_iterator *iter); |
139 | void (*start)(struct trace_iterator *iter); | 140 | void (*start)(struct trace_iterator *iter); |
140 | void (*stop)(struct trace_iterator *iter); | 141 | void (*stop)(struct trace_iterator *iter); |
142 | ssize_t (*read)(struct trace_iterator *iter, | ||
143 | struct file *filp, char __user *ubuf, | ||
144 | size_t cnt, loff_t *ppos); | ||
141 | void (*ctrl_update)(struct trace_array *tr); | 145 | void (*ctrl_update)(struct trace_array *tr); |
142 | #ifdef CONFIG_FTRACE_STARTUP_TEST | 146 | #ifdef CONFIG_FTRACE_STARTUP_TEST |
143 | int (*selftest)(struct tracer *trace, | 147 | int (*selftest)(struct tracer *trace, |
@@ -160,6 +164,7 @@ struct trace_seq { | |||
160 | struct trace_iterator { | 164 | struct trace_iterator { |
161 | struct trace_array *tr; | 165 | struct trace_array *tr; |
162 | struct tracer *trace; | 166 | struct tracer *trace; |
167 | void *private; | ||
163 | long last_overrun[NR_CPUS]; | 168 | long last_overrun[NR_CPUS]; |
164 | long overrun[NR_CPUS]; | 169 | long overrun[NR_CPUS]; |
165 | 170 | ||