]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tracing: Convert trace_printk() formats for module to const char *
authorSteven Rostedt <srostedt@redhat.com>
Tue, 22 Mar 2011 02:59:21 +0000 (22:59 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 4 Apr 2011 16:18:24 +0000 (12:18 -0400)
commit0588fa30db44fd2d4032b36a061c87478a43fbee
tree2c58392c0c3bd24ae2831189aea2586de754c8f1
parent176fcc5c5f0131504a55e1e1d35389c49a9177c2
tracing: Convert trace_printk() formats for module to const char *

The trace_printk() formats for modules do not show up in the
debugfs/tracing/printk_formats file. Only the formats that are
for trace_printk()s that are in the kernel core.

To facilitate the change to add trace_printk() formats from modules
into that file as well, we need to convert the structure that
holds the formats from char fmt[], into const char *fmt,
and allocate them separately.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_printk.c