summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2026-09-08 18:02:40 +0900
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-09-16 10:42:46 -0400
commit9a21d5e12153f13b95213e0bf0c65b4a381b0ca9 (patch)
tree46959f9742ed6377f6be961425fd78210a733bc1 /tools/perf/scripts/python/stackcollapse.py
parentfdec4b3a173570d5304ea78e690375acfd8a722e (diff)
downloadlinux-next-9a21d5e12153f13b95213e0bf0c65b4a381b0ca9.tar.gz
linux-next-9a21d5e12153f13b95213e0bf0c65b4a381b0ca9.zip
scsi: st: Use combined sense codes
Refactor the SCSI tape driver to use the 16-bit sense_code field of struct scsi_sense_hdr and replace all 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. 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-13-dlemoal@kernel.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions