public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] profiling: fix sched profiling typo
@ 2007-01-02 23:36 Ingo Molnar
  0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2007-01-02 23:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds, Andrew Morton

Subject: [patch] profiling: fix sched profiling typo
From: Ingo Molnar <mingo@elte.hu>

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>
---
 kernel/profile.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/kernel/profile.c
===================================================================
--- linux.orig/kernel/profile.c
+++ linux/kernel/profile.c
@@ -64,7 +64,7 @@ static int __init profile_setup(char * s
 		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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-02 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-02 23:36 [patch] profiling: fix sched profiling typo Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox