aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLee Susman <[email protected]>2016-12-22 18:42:03 -0800
committerMartin K. Petersen <[email protected]>2017-01-05 18:10:04 -0500
commit1a07f2d96eb9085396cbfb2d6d42d4003aa2934a (patch)
tree8fd5227aa9e3bded8b153cbbfcfc67e0cf5a92f2 /tools/perf/scripts/python
parent911a0771b6fa7bac5eae753c17c87ecb77c77283 (diff)
scsi: ufs: add trace event for ufs commands
Use the ftrace infrastructure to conditionally trace ufs command events. New trace event is created, which samples the following ufs command data: - device name - optional identification string - task tag - doorbell register - number of transfer bytes - interrupt status register - request start LBA - command opcode Currently we only fully trace read(10) and write(10) commands. All other commands which pass through ufshcd_send_command() will be printed with "-1" in the lba and transfer_len fields. Usage: echo 1 > /sys/kernel/debug/tracing/events/ufs/enable cat /sys/kernel/debug/tracing/trace_pipe Signed-off-by: Lee Susman <[email protected]> Signed-off-by: Subhash Jadavani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions