aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-10-20 08:48:17 +0200
committerJens Axboe <[email protected]>2022-10-23 18:59:17 -0600
commit58367c8a5f845498fd341e5687bab513925e4ac0 (patch)
treeadb084cfe60e6cd540516d5bf8670053ebf74800 /tools/perf/scripts/python/export-to-postgresql.py
parentdd6f7f17bf5831ac94d2b8ffe3d67dac201a9b97 (diff)
block: sanitize the elevator name before passing it to __elevator_change
The stripped name should also be used for the none check. To do so strip it in the caller and pass in the sanitized name. Drop the pointless __ prefix in the function name while we're at it. Based on a patch from Jinlong Chen <[email protected]>. Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions