aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2024-08-08 05:25:07 -0700
committerPaolo Abeni <[email protected]>2024-08-13 10:58:58 +0200
commit1ef33652d22c69a2a7519d003cd6c79b8e514f44 (patch)
tree9352ab6db6172d36586e4e6a04359096b644e7f9 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent2bbf1aedd6650227115edbe2ddd9446b1e8cdc3b (diff)
net: netpoll: extract core of netpoll_cleanup
Extract the core part of netpoll_cleanup(), so, it could be called from a caller that has the rtnl lock already. Netconsole uses this in a weird way right now: __netpoll_cleanup(&nt->np); spin_lock_irqsave(&target_list_lock, flags); netdev_put(nt->np.dev, &nt->np.dev_tracker); nt->np.dev = NULL; nt->enabled = false; This will be replaced by do_netpoll_cleanup() as the locking situation is overhauled. Signed-off-by: Breno Leitao <[email protected]> Reviewed-by: Rik van Riel <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions