aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2023-07-27 17:59:23 +0200
committerJakub Kicinski <[email protected]>2023-07-28 13:38:45 -0700
commitb17b2d57b7c1193a1b86c07b3ff0beca7a607a95 (patch)
treeb4e4a680c9fe7996c6829f9745b4f38dda6c1699 /tools/perf/scripts/python/stackcollapse.py
parentdeeaa3716f4fa2dd1722de8e1b203217e7dd677f (diff)
mlxsw: spectrum_router: hw_stats: Use tracker helpers to hold & put netdevices
Using the tracking helpers makes it easier to debug netdevice refcount imbalances when CONFIG_NET_DEV_REFCNT_TRACKER is enabled. Convert dev_hold() / dev_put() to netdev_hold() / netdev_put() in the router code that deals with hw_stats events. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://lore.kernel.org/r/b972314cfef4f4c24e66e60d13cffa5d606d1bf3.1690471774.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions