diff options
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index df627a948694..e03f157c772e 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -403,6 +403,17 @@ int tracing_open_generic(struct inode *inode, struct file *filp); | |||
403 | struct dentry *tracing_init_dentry(void); | 403 | struct dentry *tracing_init_dentry(void); |
404 | void init_tracer_sysprof_debugfs(struct dentry *d_tracer); | 404 | void init_tracer_sysprof_debugfs(struct dentry *d_tracer); |
405 | 405 | ||
406 | struct ring_buffer_event; | ||
407 | |||
408 | struct ring_buffer_event *trace_buffer_lock_reserve(struct trace_array *tr, | ||
409 | unsigned char type, | ||
410 | unsigned long len, | ||
411 | unsigned long flags, | ||
412 | int pc); | ||
413 | void trace_buffer_unlock_commit(struct trace_array *tr, | ||
414 | struct ring_buffer_event *event, | ||
415 | unsigned long flags, int pc); | ||
416 | |||
406 | struct trace_entry *tracing_get_trace_entry(struct trace_array *tr, | 417 | struct trace_entry *tracing_get_trace_entry(struct trace_array *tr, |
407 | struct trace_array_cpu *data); | 418 | struct trace_array_cpu *data); |
408 | 419 | ||