Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aeaee8a2 authored by Ingo Molnar's avatar Ingo Molnar Committed by Thomas Gleixner
Browse files

ftrace: build fix



Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 25770467
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -58,9 +58,6 @@ struct dyn_ftrace {
int ftrace_force_update(void);
int ftrace_force_update(void);
void ftrace_set_filter(unsigned char *buf, int len, int reset);
void ftrace_set_filter(unsigned char *buf, int len, int reset);


/* totally disable ftrace - can not re-enable after this */
void ftrace_kill(void);

/* defined in arch */
/* defined in arch */
extern int ftrace_ip_converted(unsigned long ip);
extern int ftrace_ip_converted(unsigned long ip);
extern unsigned char *ftrace_nop_replace(void);
extern unsigned char *ftrace_nop_replace(void);
@@ -78,6 +75,9 @@ extern void mcount_call(void);
# define ftrace_set_filter(buf, len, reset)	do { } while (0)
# define ftrace_set_filter(buf, len, reset)	do { } while (0)
#endif
#endif


/* totally disable ftrace - can not re-enable after this */
void ftrace_kill(void);

static inline void tracer_disable(void)
static inline void tracer_disable(void)
{
{
#ifdef CONFIG_FTRACE
#ifdef CONFIG_FTRACE