aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorJames Chapman <[email protected]>2024-08-07 07:54:49 +0100
committerDavid S. Miller <[email protected]>2024-08-11 04:38:49 +0100
commit1f4c3dce9112d23145b4f8bbfd3793a1c4c517ab (patch)
tree9926262d0fa1001500bea346f7335c53b7733c04 /tools/perf/scripts/python/futex-contention.py
parentaa92c1cec92b146fe499fb693688d6d3d6bafad9 (diff)
l2tp: use get_next APIs for management requests and procfs/debugfs
l2tp netlink and procfs/debugfs iterate over tunnel and session lists to obtain data. They currently use very inefficient get_nth functions to do so. Replace these with get_next. For netlink, use nl cb->ctx[] for passing state instead of the obsolete cb->args[]. l2tp_tunnel_get_nth and l2tp_session_get_nth are no longer used so they can be removed. Signed-off-by: James Chapman <[email protected]> Signed-off-by: Tom Parkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions