aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2024-03-27 09:40:20 +0000
committerJens Axboe <axboe@kernel.dk>2024-04-01 11:53:37 -0600
commitd3a3a086ad57b8c05340c0a4ac97b26ea55a1119 (patch)
tree7d1143b1b24b05296e0acef67ca537caa78951be /tools/perf/scripts/python/exported-sql-viewer.py
parenta46c27026da10a126dd870f7b65380010bd20db5 (diff)
blk-throttle: Only use seq_printf() in tg_prfill_limit()
Currently tg_prfill_limit() uses a combination of snprintf() and strcpy() to generate the values parts of the limits string, before passing them as arguments to seq_printf(). Convert to use only a sequence of seq_printf() calls per argument, which is simpler. Suggested-by: Christoph Hellwig <hch@lst.de> Signed-off-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20240327094020.3505514-1-john.g.garry@oracle.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions