aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-01-08 11:51:57 -0700
committerJens Axboe <axboe@kernel.dk>2024-01-08 12:27:46 -0700
commit53889bcaf536b3abedeaf104019877cee37dd08b (patch)
treea60aa7d8c61d9e626c4e0f6f6ab06dd680679d86 /tools/perf/scripts/python/export-to-postgresql.py
parentblock: move __get_task_ioprio() into header file (diff)
downloadwireguard-linux-53889bcaf536b3abedeaf104019877cee37dd08b.tar.xz
wireguard-linux-53889bcaf536b3abedeaf104019877cee37dd08b.zip
block: make __get_task_ioprio() easier to read
We don't need to do any gymnastics if we don't have an io_context assigned at all, so just return early with our default priority. Reviewed-by: Bart Van Assche <bvanassche@acm.org> 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