aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index cc14a6bc1094..3422489fad5e 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -237,11 +237,11 @@ struct tracer {
237 const char *name; 237 const char *name;
238 void (*init)(struct trace_array *tr); 238 void (*init)(struct trace_array *tr);
239 void (*reset)(struct trace_array *tr); 239 void (*reset)(struct trace_array *tr);
240 void (*start)(struct trace_array *tr);
241 void (*stop)(struct trace_array *tr);
240 void (*open)(struct trace_iterator *iter); 242 void (*open)(struct trace_iterator *iter);
241 void (*pipe_open)(struct trace_iterator *iter); 243 void (*pipe_open)(struct trace_iterator *iter);
242 void (*close)(struct trace_iterator *iter); 244 void (*close)(struct trace_iterator *iter);
243 void (*start)(struct trace_iterator *iter);
244 void (*stop)(struct trace_iterator *iter);
245 ssize_t (*read)(struct trace_iterator *iter, 245 ssize_t (*read)(struct trace_iterator *iter,
246 struct file *filp, char __user *ubuf, 246 struct file *filp, char __user *ubuf,
247 size_t cnt, loff_t *ppos); 247 size_t cnt, loff_t *ppos);
@@ -282,6 +282,7 @@ struct trace_iterator {
282 long idx; 282 long idx;
283}; 283};
284 284
285int tracing_is_enabled(void);
285void trace_wake_up(void); 286void trace_wake_up(void);
286void tracing_reset(struct trace_array *tr, int cpu); 287void tracing_reset(struct trace_array *tr, int cpu);
287int tracing_open_generic(struct inode *inode, struct file *filp); 288int tracing_open_generic(struct inode *inode, struct file *filp);