aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2010-06-03 15:21:34 -0400
committerSteven Rostedt <[email protected]>2010-08-12 16:59:29 -0400
commit2a37a3df57c44e947271758a1aa4bea7bff9feab (patch)
tree89d3e35a1c29f021d7ca0c468a391ec35f0db34b /tools/perf/util/trace-event-scripting.c
parent465c6cca2668a2db2a4ffce3dca5714017873f2b (diff)
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 <[email protected]> Cc: Martin K. Petersen <[email protected]> Cc: Kei Tokunaga <[email protected]> Cc: James Bottomley <[email protected]> Cc: Tomohiro Kusumi <[email protected]> Cc: Xiao Guangrong <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions