summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-07-27 09:25:15 +0300
committerJens Axboe <axboe@kernel.dk>2021-08-02 22:37:28 +0300
commita291bb43e5c9fdedc4be3dfd496e64e7c5a78b1f (patch)
treefe5e4cc05c5a1a086b46188d8fc01e17b5368ac8 /tools/perf/scripts/python/export-to-postgresql.py
parenta9e7bc3de4051d037a8e6f2d30448c347263737e (diff)
downloadlinux-a291bb43e5c9fdedc4be3dfd496e64e7c5a78b1f.tar.xz
block: use the %pg format specifier in show_partition
Simplify printing the partition name by using the %pg format specifier that is equivalent to a bdevname call. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Link: https://lore.kernel.org/r/20210727062518.122108-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions