summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2026-09-08 18:02:59 +0900
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-09-16 10:42:48 -0400
commit1b7ea7bb198e73a5237d3799187e46fe2b818ef5 (patch)
tree7f268ace83c5ffdd6cbad80db2060c390967f0f3 /tools/perf/scripts/python/flamegraph.py
parent01526b511d8879dd3c2baa2cb09377d25524a8fe (diff)
downloadlinux-next-1b7ea7bb198e73a5237d3799187e46fe2b818ef5.tar.gz
linux-next-1b7ea7bb198e73a5237d3799187e46fe2b818ef5.zip
scsi: scsi_debug: Use combined sense codes
Refactor the scsi_debug driver to replace hard-coded additional sense codes and additional sense code qualifiers with the enum values defined in include/scsi/scsi_sense.h. This helps with code clarity as the sense codes being processed are easier to test and self-documented. The functions mk_sense_buffer() and mk_sense_info_tape() are modified to take a 16-bit sense code as argument. No functional change intended. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Hannes Reinecke <hare@kernel.org> Link: https://patch.msgid.link/20260908090308.1085097-32-dlemoal@kernel.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions