aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorMartin K. Petersen <[email protected]>2010-01-20 02:20:43 -0500
committerJames Bottomley <[email protected]>2010-02-19 11:15:33 -0600
commit77c9cfc51b0d732b2524799810fb30018074fd60 (patch)
tree3f017828710e8bab9e172204a2ef5f2e9544d379 /tools/perf/scripts/python/check-perf-trace.py
parent8475f688d796b875bf98ed161acd53d00a1483ff (diff)
[SCSI] Fix printing of failed 32-byte commands
Having the large CDB allocation logic in sd.c means that scsi_io_completion does not have access to the command buffer. That in turn causes garbage to be printed when a 32-byte command fails. Move the command printing to sd_done where the command buffer is intact. Clear the command buffer pointer after the extended CDB has been freed. Make scsi_print_command ignore commands with NULL CDB pointers to inhibit printing of garbled command strings. Signed-off-by: Martin K. Petersen <[email protected]> Reviewed-by: Boaz Harrosh <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions