aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-11-23 03:18:56 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-23 03:19:35 -0500
commit82f60f0bc854aada696f27d863c03bef91f1509d (patch)
tree521fbccfc12f6c8a36f261b20eacbc84a4a31add /include/linux/ftrace.h
parentf201ae2356c74bcae130b2177b3dca903ea98071 (diff)
tracing/function-return-tracer: clean up task start/exit callbacks
Impact: cleanup Eliminate #ifdefs in core code by using empty inline functions. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 2ba259b2defa..938ca1942641 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -335,6 +335,9 @@ extern void unregister_ftrace_return(void);
335 335
336extern void ftrace_retfunc_init_task(struct task_struct *t); 336extern void ftrace_retfunc_init_task(struct task_struct *t);
337extern void ftrace_retfunc_exit_task(struct task_struct *t); 337extern void ftrace_retfunc_exit_task(struct task_struct *t);
338#else
339static inline void ftrace_retfunc_init_task(struct task_struct *t) { }
340static inline void ftrace_retfunc_exit_task(struct task_struct *t) { }
338#endif 341#endif
339 342
340#endif /* _LINUX_FTRACE_H */ 343#endif /* _LINUX_FTRACE_H */