summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 21:20:49 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 23:40:22 +0200
commitd618b3e6e50970a6248ac857653fdd49bcd3c045 (patch)
tree1bf01a4c4092b9db9b3690a980b5260170ec6567 /kernel/trace/trace.h
parent9f6b4e3f4a24f2590f1c96f117fc45fbea9b0fa4 (diff)
downloadop-kernel-dev-d618b3e6e50970a6248ac857653fdd49bcd3c045.zip
op-kernel-dev-d618b3e6e50970a6248ac857653fdd49bcd3c045.tar.gz
ftrace: sysprof updates
make the sample period configurable. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index b2198bc..b7f85d9 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -188,6 +188,8 @@ struct trace_iterator {
void tracing_reset(struct trace_array_cpu *data);
int tracing_open_generic(struct inode *inode, struct file *filp);
struct dentry *tracing_init_dentry(void);
+void init_tracer_sysprof_debugfs(struct dentry *d_tracer);
+
void ftrace(struct trace_array *tr,
struct trace_array_cpu *data,
unsigned long ip,
OpenPOWER on IntegriCloud