[PATCH 3/8] ftrace: trace schedule

Steven Rostedt
2008-07-11T01:00:37Z

[-- Attachment #1: ftrace-trace-sched.patch --]
[-- Type: text/plain, Size: 863 bytes --]

After the sched_clock code has been removed from sched.c we can now trace
the scheduler. The scheduler has a lot of functions that would be worth
tracing.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
kernel/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-tip.git/kernel/Makefile
===================================================================
--- linux-tip.git.orig/kernel/Makefile 2008-07-07 15:22:21.000000000 -0400
+++ linux-tip.git/kernel/Makefile 2008-07-07 16:32:48.000000000 -0400
@@ -11,7 +11,7 @@ obj-y = sched.o fork.o exec_domain.o
hrtimer.o rwsem.o nsproxy.o srcu.o semaphore.o \
notifier.o ksysfs.o pm_qos_params.o sched_clock.o

-CFLAGS_REMOVE_sched.o = -pg -mno-spe
+CFLAGS_REMOVE_sched.o = -mno-spe

ifdef CONFIG_FTRACE
# Do not trace debug files and internal ftrace files

--