summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-03-15 09:00:04 +0300
committerJakub Kicinski <kuba@kernel.org>2022-03-16 22:56:31 +0300
commit2cb7b4890d6e7f20560dc251e7f8d3cc68b0d554 (patch)
tree7a097268cd33bddcbc44114f2c1111e501373375 /tools/perf/scripts/python/export-to-sqlite.py
parent49045b9c810cd9b4ac5f8f235ad8ef17553a00fa (diff)
downloadlinux-2cb7b4890d6e7f20560dc251e7f8d3cc68b0d554.tar.xz
devlink: expose instance locking and add locked port registering
It should be familiar and beneficial to expose devlink instance lock to the drivers. This way drivers can block devlink from calling them during critical sections without breakneck locking. Add port helpers, port splitting callbacks will be the first target. Use 'devl_' prefix for "explicitly locked" API. Initial RFC used '__devlink' but that's too much typing. devl_lock_is_held() is not defined without lockdep, which is the same behavior as lockdep_is_held() itself. Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions