From: Steven Rostedt Date: Thu, 4 Jun 2009 04:55:45 +0000 (-0400) Subject: tracing/function-profiler: do not free per cpu variable stat X-Git-Tag: v2.6.31-rc4~54^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ab5d668b131d3c5416f6df1d3ca95b82d4fe8a2;p=pandora-kernel.git tracing/function-profiler: do not free per cpu variable stat The per cpu variable stat is freeded if we fail to allocate a name on start up. This was due to stat at first being allocated in the initial design. But since then, it has become a static per cpu variable but the free on error was not removed. Also added __init annotation to the function that this is in. [ Impact: prevent possible memory corruption on low mem at boot up ] Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed