summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAndre Carvalho <asantostc@gmail.com>2026-01-18 11:00:25 +0000
committerJakub Kicinski <kuba@kernel.org>2026-01-21 19:09:11 -0800
commitc52861e566db8af86c9fb412ccffa274c610babf (patch)
treeb9b08d9ec66d51e5d40a2469a5918f8de518f883 /tools/perf/scripts/python/stackcollapse.py
parent5b114087438dcd229c8754c093c44619c346d67c (diff)
downloadlinux-c52861e566db8af86c9fb412ccffa274c610babf.tar.gz
linux-c52861e566db8af86c9fb412ccffa274c610babf.zip
netconsole: introduce helpers for dynamic_netconsole_mutex lock/unlock
This commit introduces two helper functions to perform lock/unlock on dynamic_netconsole_mutex providing no-op stub versions when compiled without CONFIG_NETCONSOLE_DYNAMIC and refactors existing call sites to use the new helpers. This is done following kernel coding style guidelines, in preparation for an upcoming change. It avoids the need for preprocessor conditionals in the call site and keeps the logic easier to follow. Signed-off-by: Andre Carvalho <asantostc@gmail.com> Reviewed-by: Breno Leitao <leitao@debian.org> Tested-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20260118-netcons-retrigger-v11-5-4de36aebcf48@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions