summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-08-10 17:15:47 -0700
committerJakub Kicinski <kuba@kernel.org>2026-08-10 17:15:48 -0700
commitab40240945532e90cd068dd8fd2830df5fd3c96b (patch)
treea922fa36eab796ac41a00df566ea8898b883c126 /tools/perf/scripts/python
parent855631afe0f5a1fac96abdd8a30e3ccda966e15f (diff)
parent5da9639bdd2003374465cd5f21fe012b6d63fca2 (diff)
Merge branch 'drivers-s390-net-enable-context_analysis'
Heiko Carstens says: ==================== drivers/s390/net: Enable CONTEXT_ANALYSIS Enable CONTEXT_ANALYSYS for drivers/s390/net. Static code checking for acquiring and releasing locks used to be done with sparse. That was removed with [1] and replaced with a clang based approach [2]. The new approach requires that each subsystem needs to be explicitly enabled for checking. Do that for drivers/s390/net. In order to avoid false positives due to conditional locking, disable context analysis for specific functions of the ctcm driver. All comments in ctcm indicate that the code should stay as it is, and that such warnings should be ignored. Disabling context analysis for specific functions keeps analysis enabled for the rest of a file. [1] 5b63d0ae94cc ("compiler-context-analysis: Remove Sparse support") [2] 3269701cb256 ("compiler-context-analysis: Add infrastructure for Context Analysis with Clang") ==================== Link: https://patch.msgid.link/20260805145032.1409325-1-hca@linux.ibm.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions