diff options
author | 2010-06-03 15:21:34 -0400 | |
---|---|---|
committer | 2010-08-12 16:59:29 -0400 | |
commit | 2a37a3df57c44e947271758a1aa4bea7bff9feab (patch) | |
tree | 89d3e35a1c29f021d7ca0c468a391ec35f0db34b /kernel/trace/trace_functions_graph.c | |
parent | tracing: Extend recordmcount to better support Blackfin mcount (diff) | |
download | wireguard-linux-2a37a3df57c44e947271758a1aa4bea7bff9feab.tar.xz wireguard-linux-2a37a3df57c44e947271758a1aa4bea7bff9feab.zip |
tracing/events: Convert format output to seq_file
Two new events were added that broke the current format output.
Both from the SCSI system: scsi_dispatch_cmd_done and scsi_dispatch_cmd_timeout
The reason is that their print_fmt exceeded a page size. Since the output
of the format used simple_read_from_buffer and trace_seq, it was limited
to a page size in output.
This patch converts the printing of the format of an event into seq_file,
which allows greater than a page size to be shown.
I diffed all event formats comparing the output with and without this
patch. All matched except for the above two, which showed just:
FORMAT TOO BIG
without this patch, but now properly displays the output with this patch.
v2: Remove updating *pos in seq start function.
[ Thanks to Li Zefan for pointing that out ]
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Kei Tokunaga <tokunaga.keiich@jp.fujitsu.com>
Cc: James Bottomley <James.Bottomley@suse.de>
Cc: Tomohiro Kusumi <kusumi.tomohiro@jp.fujitsu.com>
Cc: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions