• Steven Rostedt's avatar
    tracing: Convert trace_printk() formats for module to const char * · 0588fa30
    Steven Rostedt authored
    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: default avatarSteven Rostedt <rostedt@goodmis.org>
    0588fa30
trace_printk.c 5.01 KB