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.h11
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);
403struct dentry *tracing_init_dentry(void); 403struct dentry *tracing_init_dentry(void);
404void init_tracer_sysprof_debugfs(struct dentry *d_tracer); 404void init_tracer_sysprof_debugfs(struct dentry *d_tracer);
405 405
406struct ring_buffer_event;
407
408struct 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);
413void trace_buffer_unlock_commit(struct trace_array *tr,
414 struct ring_buffer_event *event,
415 unsigned long flags, int pc);
416
406struct trace_entry *tracing_get_trace_entry(struct trace_array *tr, 417struct trace_entry *tracing_get_trace_entry(struct trace_array *tr,
407 struct trace_array_cpu *data); 418 struct trace_array_cpu *data);
408 419