aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-02-17 05:47:39 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-17 05:47:39 -0500
commit97d0bb8dcd8c2812e1927cdb51d7b1f9c98352b5 (patch)
tree12697bcf81303bb9bbaf9bf36652ef3d733725ca /include/linux/ftrace.h
parentf492d3f8385a98f828e8220d14492337dc29e07b (diff)
ftrace: fix !CONFIG_FTRACE [un_]register_ftrace_command() prototypes
Impact: build fix Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index b331e216d8a1..63281228ce3e 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -238,9 +238,11 @@ extern void ftrace_enable_daemon(void);
238static inline void ftrace_release(void *start, unsigned long size) { } 238static inline void ftrace_release(void *start, unsigned long size) { }
239static inline int register_ftrace_command(struct ftrace_func_command *cmd) 239static inline int register_ftrace_command(struct ftrace_func_command *cmd)
240{ 240{
241 return -EINVAL;
241} 242}
242static inline int unregister_ftrace_command(char *cmd_name) 243static inline int unregister_ftrace_command(char *cmd_name)
243{ 244{
245 return -EINVAL;
244} 246}
245#endif /* CONFIG_DYNAMIC_FTRACE */ 247#endif /* CONFIG_DYNAMIC_FTRACE */
246 248