diff options
author | 2009-03-12 14:23:17 -0400 | |
---|---|---|
committer | 2009-03-12 21:15:01 -0400 | |
commit | 7975a2be16dd42df2cab80c80cb6ece382edb6ec (patch) | |
tree | b9fdae6b0f3cd7c902beb8bf995efe2d827e02a2 /include/linux/interrupt.h | |
parent | tracing: have event_trace_printk use static tracer (diff) | |
download | wireguard-linux-7975a2be16dd42df2cab80c80cb6ece382edb6ec.tar.xz wireguard-linux-7975a2be16dd42df2cab80c80cb6ece382edb6ec.zip |
tracing: export trace formats to user space
The binary printk saves a pointer to the format string in the ring buffer.
On output, the format is processed. But if the user is reading the
ring buffer through a binary interface, the pointer is meaningless.
This patch creates a file called printk_formats that maps the pointers
to the formats.
# cat /debug/tracing/printk_formats
0xffffffff80713d40 : "irq_handler_entry: irq=%d handler=%s\n"
0xffffffff80713d48 : "lock_acquire: %s%s%s\n"
0xffffffff80713d50 : "lock_release: %s\n"
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/linux/interrupt.h')
0 files changed, 0 insertions, 0 deletions