From: Steven Rostedt Date: Tue, 5 Oct 2010 20:38:49 +0000 (-0400) Subject: tracing: Use one prologue for the wakeup tracer function tracers X-Git-Tag: v2.6.37-rc1~214^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=542181d3769d001c59cd17573dd4381e87d215f2;p=pandora-kernel.git tracing: Use one prologue for the wakeup tracer function tracers The wakeup tracer has three types of function tracers. Normal function tracer, function graph entry, and function graph return. Each of these use a complex dance to prevent recursion and whether to trace the data or not (depending on the wake_task variable). This patch moves the duplicate code into a single routine, to prevent future mistakes with modifying duplicate complex code. Cc: Jiri Olsa Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed