aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2009-03-13 05:50:27 -0400
committerIngo Molnar <mingo@elte.hu>2009-03-13 06:57:21 -0400
commit321bb5e1ac461c04b6a93f795010d6eb01d8c5ca (patch)
tree409e0c0b867e2cb24abeec4bd8905d9cf1089cb6 /kernel/trace/trace.h
parentba9372a8f306c4e53a5f61dcbcd6c1e4a8c2e9ac (diff)
x86, hw-branch-tracer: add selftest
Add a selftest for the hw-branch-tracer. Signed-off-by: Markus Metzger <markus.t.metzger@intel.com> LKML-Reference: <20090313105027.A30183@sedona.ch.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 56ce34d90b03..e7fbc826f1e9 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -576,6 +576,8 @@ extern int trace_selftest_startup_sysprof(struct tracer *trace,
576 struct trace_array *tr); 576 struct trace_array *tr);
577extern int trace_selftest_startup_branch(struct tracer *trace, 577extern int trace_selftest_startup_branch(struct tracer *trace,
578 struct trace_array *tr); 578 struct trace_array *tr);
579extern int trace_selftest_startup_hw_branches(struct tracer *trace,
580 struct trace_array *tr);
579#endif /* CONFIG_FTRACE_STARTUP_TEST */ 581#endif /* CONFIG_FTRACE_STARTUP_TEST */
580 582
581extern void *head_page(struct trace_array_cpu *data); 583extern void *head_page(struct trace_array_cpu *data);