powerpc/ftrace: Use pr_devel() in ftrace.c
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 13 May 2009 20:30:24 +0000 (20:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 18 May 2009 05:19:04 +0000 (15:19 +1000)
commit021376a3b655364c92c10be544a3319946a792e8
tree923261eaee50d24b54766d68ef799f6934faa837
parentaf3e4aca47d2e05a545a5e10ba5c7193e0b665e0
powerpc/ftrace: Use pr_devel() in ftrace.c

pr_debug() can now result in code being generated even when #DEBUG
is not defined. That's not really desirable in the ftrace code
which we want to be snappy.

With CONFIG_DYNAMIC_DEBUG=y:

size before:
   text    data     bss     dec     hex filename
   3334     672       4    4010     faa arch/powerpc/kernel/ftrace.o

size after:
   text    data     bss     dec     hex filename
   2616     360       4    2980     ba4 arch/powerpc/kernel/ftrace.o

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/ftrace.c