]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tags: Add regex for context_lock_struct
authorPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jan 2026 15:24:05 +0000 (16:24 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jan 2026 15:43:37 +0000 (16:43 +0100)
commitc10d860e0baae0853773dc90a94b26adc5687380
treeef62c7605acb68641ab474dbb56f614bbdaaecde
parent04e49d926f438134b6453505aa206e70f8cf4cb1
tags: Add regex for context_lock_struct

With the introduction of compiler context analysis (LLVM
ThreadSafetyAnalysis) the struct definition of various locks get
wrapped in a macro. This hides them from tags based navigation,
although clangd/LSP sees right through it and works as expected.

Add a regex to the tags script to help it along.

Requested-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251220133307.GR3707891@noisy.programming.kicks-ass.net
scripts/tags.sh