tracing/function-profiler: do not free per cpu variable stat
authorSteven Rostedt <srostedt@redhat.com>
Thu, 4 Jun 2009 04:55:45 +0000 (00:55 -0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Jul 2009 09:01:10 +0000 (11:01 +0200)
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 <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found