Go to the documentation of this file. 1 #ifndef _LINUX_PROFILE_H
2 #define _LINUX_PROFILE_H
4 #include <linux/kernel.h>
11 #define CPU_PROFILING 1
12 #define SCHED_PROFILING 2
13 #define SLEEP_PROFILING 3
14 #define KVM_PROFILING 4
20 #if defined(CONFIG_PROFILING) && defined(CONFIG_PROC_FS)
22 int create_proc_profile(
void);
28 static inline int create_proc_profile(
void)
39 #ifdef CONFIG_PROFILING
45 int profile_setup(
char *
str);
104 static inline void profile_hits(
int type,
void *ip,
unsigned int nr_hits)
134 #define profile_task_exit(a) do { } while (0)
135 #define profile_handoff_task(a) (0)
136 #define profile_munmap(a) do { } while (0)