• S
    tracing: Print trace_bprintk() formats for modules too · 1813dc37
    Steven Rostedt 提交于
    The file debugfs/tracing/printk_formats maps the addresses
    to the formats that are used by trace_bprintk() so that userspace
    tools can read the buffer and be able to decode trace_bprintk events
    to get the format saved when reading the ring buffer directly.
    
    This is because trace_bprintk() does not store the format into the
    buffer, but just the address of the format, which is hidden in
    the kernel memory.
    
    But currently it only exports trace_bprintk()s from the kernel core
    and not for modules. The modules need their formats exported
    as well.
    Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
    1813dc37
trace_printk.c 7.6 KB