aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2023-09-05 17:46:56 +0200
committerAlexei Starovoitov <[email protected]>2023-09-08 08:42:19 -0700
commit780aa8dfcb73f4703b1c4be11c21c8dca36502ad (patch)
treecd1914df315c0b10386433d457cb011e354b9522 /tools/perf/scripts/python/gecko.py
parent0ee9808b0a211ba1e572073c6afe5897f8300b9c (diff)
bpf: task_group_seq_get_next: simplify the "next tid" logic
Kill saved_tid. It looks ugly to update *tid and then restore the previous value if __task_pid_nr_ns() returns 0. Change this code to update *tid and common->pid_visiting once before return. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions