aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2023-08-23 19:14:55 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-10-04 10:41:56 -0700
commit398352049146e34ec6113a00c63457149a81345c (patch)
tree046b0fbe2abe8e4dfd9f71a7094e484f91c38e06 /tools/perf/scripts/python/export-to-postgresql.py
parentkill task_struct->thread_group (diff)
downloadwireguard-linux-398352049146e34ec6113a00c63457149a81345c.tar.xz
wireguard-linux-398352049146e34ec6113a00c63457149a81345c.zip
__kill_pgrp_info: simplify the calculation of return value
No need to calculate/check the "success" variable, we can kill it and update retval in the main loop unless it is zero. Link: https://lkml.kernel.org/r/20230823171455.GA12188@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Suggested-by: David Laight <David.Laight@ACULAB.COM> Cc: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions