From: Frederic Weisbecker Date: Fri, 31 Oct 2008 11:57:20 +0000 (+0100) Subject: tracing/fastboot: Enable boot tracing only during initcalls X-Git-Tag: v2.6.29-rc1~586^2~96^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71566a0d161edec70361b7f90f6e54af6a6d5d05;p=pandora-kernel.git tracing/fastboot: Enable boot tracing only during initcalls Impact: modify boot tracer We used to disable the initcall tracing at a specified time (IE: end of builtin initcalls). But we don't need it anymore. It will be stopped when initcalls are finished. However we want two things: _Start this tracing only after pre-smp initcalls are finished. _Since we are planning to trace sched_switches at the same time, we want to enable them only during the initcall execution. For this purpose, this patch introduce two functions to enable/disable the sched_switch tracing during boot. Signed-off-by: Frederic Weisbecker Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed