aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-22 04:26:30 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-22 04:26:30 -0500
commit03b30d151a918364c1c7d08bcb3e167be0a3746f (patch)
tree0c728e624889c4fb32e028786c5db91bbdb5def1 /include/linux/ftrace.h
parentb43f70933e7753a284733d5ae355f6778bd118ce (diff)
parent3690b5e6fd9daa030039ae9bda69044228bd476d (diff)
Merge branch 'tracing/ftrace' into tracing/core
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 054721487574..9f7880d87c39 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -496,4 +496,17 @@ static inline int test_tsk_trace_graph(struct task_struct *tsk)
496 496
497#endif /* CONFIG_TRACING */ 497#endif /* CONFIG_TRACING */
498 498
499
500#ifdef CONFIG_HW_BRANCH_TRACER
501
502void trace_hw_branch(u64 from, u64 to);
503void trace_hw_branch_oops(void);
504
505#else /* CONFIG_HW_BRANCH_TRACER */
506
507static inline void trace_hw_branch(u64 from, u64 to) {}
508static inline void trace_hw_branch_oops(void) {}
509
510#endif /* CONFIG_HW_BRANCH_TRACER */
511
499#endif /* _LINUX_FTRACE_H */ 512#endif /* _LINUX_FTRACE_H */