diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-01-05 19:36:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-06 02:55:22 -0500 |
commit | a75acf850ca80136a4f845cf9a7cd26e7465c1f4 (patch) | |
tree | 994ab004f2bf7d512766b7861a91dbc8aaf76059 | |
parent | 7bf236874292fd073c6bdd27f89c3d9e81a79cbc (diff) |
[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>
-rw-r--r-- | kernel/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/profile.c b/kernel/profile.c index fb5e03d57e9d..11550b2290b6 100644 --- a/kernel/profile.c +++ b/kernel/profile.c | |||
@@ -63,7 +63,7 @@ static int __init profile_setup(char * str) | |||
63 | printk(KERN_INFO | 63 | printk(KERN_INFO |
64 | "kernel sleep profiling enabled (shift: %ld)\n", | 64 | "kernel sleep profiling enabled (shift: %ld)\n", |
65 | prof_shift); | 65 | prof_shift); |
66 | } else if (!strncmp(str, sleepstr, strlen(sleepstr))) { | 66 | } else if (!strncmp(str, schedstr, strlen(schedstr))) { |
67 | prof_on = SCHED_PROFILING; | 67 | prof_on = SCHED_PROFILING; |
68 | if (str[strlen(schedstr)] == ',') | 68 | if (str[strlen(schedstr)] == ',') |
69 | str += strlen(schedstr) + 1; | 69 | str += strlen(schedstr) + 1; |