summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authoryupeng <yupeng0921@gmail.com>2018-12-18 19:59:53 +0300
committerChristoph Hellwig <hch@lst.de>2018-12-19 10:35:36 +0300
commit604c01d567cb9ee7d19dc598272cb90ab6229a8a (patch)
tree896081abe12f6fd5b12c79515dbc2b08457dc6f3 /tools/perf/scripts/python/export-to-sqlite.py
parentff8519f9e91170cd24ed503aa77d144e71bd4d92 (diff)
downloadlinux-604c01d567cb9ee7d19dc598272cb90ab6229a8a.tar.xz
nvme-pci: trace SQ status on completions
Export the disk name, queue id, sq_head, sq_tail to a trace event in completion handling. Usage example: cd /sys/kernel/debug/tracing/events/nvme/nvme_sq echo 'disk=="nvme1n1"' > filter echo 1 > enable cat /sys/kernel/debug/tracing/trace_pipe Signed-off-by: yupeng <yupeng0921@gmail.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Keith Busch <keith.busch@intel.com> [hch: slight formatting tweaks, use standard nvme tracepoint conventions] Signed-off-by: Christoph Hellwig <hch@lst.de> wip
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions