From: Jiri Olsa Date: Tue, 13 Oct 2009 20:33:53 +0000 (-0400) Subject: tracing: Enable records during the module load X-Git-Tag: v2.6.33-rc1~400^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cb084bb1f3fd4dcdaf7e4cf564994346ec8f783;p=pandora-kernel.git tracing: Enable records during the module load I was debuging some module using "function" and "function_graph" tracers and noticed, that if you load module after you enabled tracing, the module's hooks will convert only to NOP instructions. The attached patch enables modules' hooks if there's function trace allready on, thus allowing to trace module functions. Signed-off-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Steven Rostedt LKML-Reference: <20091013203425.896285120@goodmis.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed