diff options
Diffstat (limited to 'include/linux/profile.h')
| -rw-r--r-- | include/linux/profile.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/profile.h b/include/linux/profile.h index 7e7087239af5..570045053ce9 100644 --- a/include/linux/profile.h +++ b/include/linux/profile.h | |||
| @@ -35,7 +35,9 @@ enum profile_type { | |||
| 35 | extern int prof_on __read_mostly; | 35 | extern int prof_on __read_mostly; |
| 36 | 36 | ||
| 37 | /* init basic kernel profiler */ | 37 | /* init basic kernel profiler */ |
| 38 | void __init profile_init(void); | 38 | int profile_init(void); |
| 39 | int profile_setup(char *str); | ||
| 40 | int create_proc_profile(void); | ||
| 39 | void profile_tick(int type); | 41 | void profile_tick(int type); |
| 40 | 42 | ||
| 41 | /* | 43 | /* |
| @@ -84,9 +86,9 @@ struct pt_regs; | |||
| 84 | 86 | ||
| 85 | #define prof_on 0 | 87 | #define prof_on 0 |
| 86 | 88 | ||
| 87 | static inline void profile_init(void) | 89 | static inline int profile_init(void) |
| 88 | { | 90 | { |
| 89 | return; | 91 | return 0; |
| 90 | } | 92 | } |
| 91 | 93 | ||
| 92 | static inline void profile_tick(int type) | 94 | static inline void profile_tick(int type) |
