profiling: fix sched profiling typo
PATCH 1/1 profiling: fix sched profiling typo
Subject: [patch] profiling: fix sched profiling typo
From: Ingo Molnar <[email protected]>
fix sched profiling typo, introduced by the sleep profiling patch. This bug caused profile=sched to not work.
Signed-off-by Ingo Molnar <[email protected]>
--- kernel/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/profile.c +1 -1
@@ -64,7 +64,7 @@ static int __init profile_setup(char * sprintk (KERN_INFO "kernel sleep profiling enabled (shift: %ld)\n" , prof_shift); - }else if (!strncmp (str, sleepstr,strlen (sleepstr))) { + }else if (!strncmp (str, schedstr,strlen (schedstr))) { prof_on =SCHED_PROFILING ;if (str[strlen (schedstr)] ==',' ) str +=strlen (schedstr) +1 ;