summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/ufshcd.h
diff options
context:
space:
mode:
authorStanley Chu <stanley.chu@mediatek.com>2020-06-15 15:22:35 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-06-15 23:35:06 -0400
commitaa5c697988b4c7e1077de1e2eb2298114d531736 (patch)
tree2f7317121be07317385190085de9bd7975f369fb /drivers/scsi/ufs/ufshcd.h
parent7a7df52dbc71d2aa4272664ebc9ad44ab317ae53 (diff)
scsi: ufs: Add trace event for UIC commands
Use the ftrace infrastructure to conditionally trace UFS UIC command events. New trace event "ufshcd_uic_command" is created, which samples the following UFS UIC command data: - Device name - Optional identification string - UIC command opcode - UIC command argument1 - UIC command argument2 - UIC command argement3 Usage: echo 1 > /sys/kernel/debug/tracing/events/ufs/enable cat /sys/kernel/debug/tracing/trace_pipe Link: https://lore.kernel.org/r/20200615072235.23042-3-stanley.chu@mediatek.com Acked-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd.h')
0 files changed, 0 insertions, 0 deletions