Commit 8cf7d362 authored by Ingo Molnar's avatar Ingo Molnar

profiling: fix !procfs build

fix:

 kernel/built-in.o: In function `profiling_store':
 ksysfs.c:(.text+0x1f90c): undefined reference to `create_proc_profile'
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 52f4f324
......@@ -37,7 +37,14 @@ extern int prof_on __read_mostly;
/* init basic kernel profiler */
int profile_init(void);
int profile_setup(char *str);
#ifdef CONFIG_PROC_FS
int create_proc_profile(void);
#else
static inline int create_proc_profile(void)
{
return 0;
}
#endif
void profile_tick(int type);
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment