• Steven Rostedt's avatar
    tracing: Fix regression in printk_formats file · db5e7ecc
    Steven Rostedt authored
    The fix to fix the printk_formats of modules broke the
    printk_formats of trace_printks in the kernel.
    
    The update of what to show via the seq_file was only updated
    if the passed in fmt was NULL, which happens only on the first
    iteration. The result was showing the first format every time
    instead of iterating through the available formats.
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    db5e7ecc
trace_printk.c 7.56 KB