diff options
-rw-r--r-- | include/linux/profile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/profile.h b/include/linux/profile.h index 570045053ce9..e3eca8577a38 100644 --- a/include/linux/profile.h +++ b/include/linux/profile.h | |||
@@ -37,7 +37,14 @@ extern int prof_on __read_mostly; | |||
37 | /* init basic kernel profiler */ | 37 | /* init basic kernel profiler */ |
38 | int profile_init(void); | 38 | int profile_init(void); |
39 | int profile_setup(char *str); | 39 | int profile_setup(char *str); |
40 | #ifdef CONFIG_PROC_FS | ||
40 | int create_proc_profile(void); | 41 | int create_proc_profile(void); |
42 | #else | ||
43 | static inline int create_proc_profile(void) | ||
44 | { | ||
45 | return 0; | ||
46 | } | ||
47 | #endif | ||
41 | void profile_tick(int type); | 48 | void profile_tick(int type); |
42 | 49 | ||
43 | /* | 50 | /* |