diff options
author | Davidlohr Bueso <[email protected]> | 2020-09-07 13:32:06 -0700 |
---|---|---|
committer | Daniel Thompson <[email protected]> | 2020-09-08 14:36:46 +0100 |
commit | ece4ceaf2eba1c0da9d6b62bc59a43be6b456548 (patch) | |
tree | 57d08d26bb6fabef10f64c2119d4dccb5e69d25f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b18b099e04f450cdc77bec72acefcde7042bd1f3 (diff) |
kdb: Use newer api for tasklist scanning
This kills using the do_each_thread/while_each_thread combo to
iterate all threads and uses for_each_process_thread() instead,
maintaining semantics. while_each_thread() is ultimately racy
and deprecated; although in this particular case there is no
concurrency so it doesn't matter. Still lets trivially get rid
of two more users.
Acked-by: Oleg Nesterov <[email protected]>
Signed-off-by: Davidlohr Bueso <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Thompson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions