From: Ingo Molnar Date: Sat, 6 Jan 2007 00:36:29 +0000 (-0800) Subject: [PATCH] profiling: fix sched profiling typo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a75acf850ca80136a4f845cf9a7cd26e7465c1f4;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/profile.c b/kernel/profile.c index fb5e03d57e9..11550b2290b 100644 --- a/kernel/profile.c +++ b/kernel/profile.c @@ -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;