diff options
author | Hou Pu <houpu.main@gmail.com> | 2021-07-05 06:15:28 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-08-16 15:42:23 +0300 |
commit | a7b5e8d864b356fdacfea08d9042261c37bc918e (patch) | |
tree | ce0eb382973f4b7c1f28c180486b5268bca67ea3 /drivers/media/mmc/siano | |
parent | e23439e977ed2b247912c2b5c6945ef1bc380100 (diff) | |
download | linux-a7b5e8d864b356fdacfea08d9042261c37bc918e.tar.xz |
nvme: add set feature tracing support
A nvme connect command produces following trace.
Before:
/sys/kernel/debug/tracing# cat trace | grep feature
kworker/5:1H-98 [005] .... 3221.294844: nvme_setup_cmd: nvme0: qid=0, cmdid=25, nsid=0, flags=0x0, meta=0x0, cmd=(nvme_admin_set_features cdw10=07 00 00 00 07 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
kworker/4:1H-124 [004] .... 3222.009186: nvme_setup_cmd: nvme0: qid=0, cmdid=17, nsid=0, flags=0x0, meta=0x0, cmd=(nvme_admin_set_features cdw10=0b 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
After:
/sys/kernel/debug/tracing# cat trace | grep feature
kworker/0:1H-253 [000] .... 196.060509: nvme_setup_cmd: nvme0: qid=0, cmdid=29, nsid=0, flags=0x0, meta=0x0, cmd=(nvme_admin_set_features fid=0x7, sv=0x0, cdw11=0x70007)
kworker/0:1H-253 [000] .... 196.763947: nvme_setup_cmd: nvme0: qid=0, cmdid=29, nsid=0, flags=0x0, meta=0x0, cmd=(nvme_admin_set_features fid=0xb, sv=0x0, cdw11=0x900)
Using ',' to separate different field like others in
nvmet_trace_admin_get_features.
Signed-off-by: Hou Pu <houpu.main@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/media/mmc/siano')
0 files changed, 0 insertions, 0 deletions