aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorChangyuan Lyu <[email protected]>2022-06-21 18:11:25 +0000
committerMartin K. Petersen <[email protected]>2022-06-21 21:43:23 -0400
commitcc06af0bbc21bcee40d57e3ee569d3a09741dafd (patch)
tree3311bccf12d23b364826e08369217b0a74fb29ec /tools/perf/scripts/python/check-perf-trace.py
parentbc98b503b111b92d1f51005b393615eaf689231f (diff)
scsi: trace: Print driver_tag and scheduler_tag in SCSI trace
Trace events like scsi_dispatch_cmd_start and scsi_dispatch_cmd_done are useful for tracking a command throughout its lifetime. But for some ATA passthrough commands, the information printed in current logs is not enough to identify and match them. For example, if two threads send SMART cmd to the same disk at the same time, their trace logs may look the same, which makes it hard to match scsi_dispatch_cmd_done and scsi_dispatch_cmd_start. Printing tags can help us solve the problem. Further, if a command failed for some reason and then is retried, its driver_tag will change. So scheduler_tag is also included such that we can track the retries of a command. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Vishakha Channapattan <[email protected]> Reviewed-by: Jolly Shah <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Changyuan Lyu <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions