Skip to content

Commit

Permalink
ftrace: fix !CONFIG_FTRACE [un_]register_ftrace_command() prototypes
Browse files Browse the repository at this point in the history
Impact: build fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Feb 17, 2009
1 parent f492d3f commit 97d0bb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/ftrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,11 @@ extern void ftrace_enable_daemon(void);
static inline void ftrace_release(void *start, unsigned long size) { }
static inline int register_ftrace_command(struct ftrace_func_command *cmd)
{
return -EINVAL;
}
static inline int unregister_ftrace_command(char *cmd_name)
{
return -EINVAL;
}
#endif /* CONFIG_DYNAMIC_FTRACE */

Expand Down

0 comments on commit 97d0bb8

Please sign in to comment.