From: Steven Rostedt Date: Tue, 22 Mar 2011 03:36:31 +0000 (-0400) Subject: tracing: Print trace_bprintk() formats for modules too X-Git-Tag: v3.0-rc1~404^2~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1813dc3776c22ad4b0294a6df8434b9a02c98109;p=pandora-kernel.git 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 --- Reading git-diff-tree failed