aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2024-07-04 14:28:13 +0900
committerJens Axboe <axboe@kernel.dk>2024-07-05 00:42:04 -0600
commitae7e965b36e3132238d16b4ccd223f65162397b5 (patch)
treea4f0c627687aba55e6fc196673418078a5d11c08 /tools/perf/scripts/python/export-to-sqlite.py
parentf4d5dc33c823ef1d7ccbbd2d1e40b871fad0012b (diff)
dm: Refactor is_abnormal_io()
Use a single switch-case to simplify is_abnormal_io() and make this function more readable and easier to modify. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Link: https://lore.kernel.org/r/20240704052816.623865-3-dlemoal@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions