aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2014-10-24 14:26:50 +0200
committerChristoph Hellwig <[email protected]>2014-11-12 11:16:00 +0100
commit149d18cc2143079ac5fc4e61bc53bb532b8eed26 (patch)
treea335422dc13ba030838e0415a2cccb47d27e1ef0 /tools/perf/scripts/python/event_analyzing_sample.py
parent7d170907191ff42d1624fc4a55c2f2400ffec07a (diff)
scsi: stop decoding if scsi_normalize_sense() fails
If scsi_normalize_sense() fails we couldn't decode the sense buffer, and the scsi_sense_hdr fields are invalid. For those cases we should rather dump the sense buffer and not try to decode invalid fields. Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Robert Elliott <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions