summaryrefslogtreecommitdiff
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-03-21 23:36:31 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-04-04 12:18:24 -0400
commit1813dc3776c22ad4b0294a6df8434b9a02c98109 (patch)
treeb768010ffd8986d2e1df11a067aa8c47c7a0ae62 /kernel/trace/trace.c
parent0588fa30db44fd2d4032b36a061c87478a43fbee (diff)
tracing: Print trace_bprintk() formats for modules too
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: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
0 files changed, 0 insertions, 0 deletions