mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
[PATCH] profiling: fix sched profiling typo
Fix sched profiling typo, introduced by the sleep profiling patch. This bug caused profile=sched to not work. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
7bf2368742
commit
a75acf850c
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ static int __init profile_setup(char * str)
|
|||
printk(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;
|
||||
|
|
Loading…
Reference in a new issue