]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf mutex: Add annotations for LOCKS_EXCLUDED and LOCKS_RETURNED
authorIan Rogers <irogers@google.com>
Tue, 18 Mar 2025 04:31:49 +0000 (21:31 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 18 Mar 2025 05:07:18 +0000 (22:07 -0700)
commitc5ebf3a26601c833a3ea8c6035d4318445a7e3a5
tree1559907926dde0b23a828934e3b540b8f4b287ff
parent658b34cc9f9c6a8b439fe7d0d8cac883a00bc8ec
perf mutex: Add annotations for LOCKS_EXCLUDED and LOCKS_RETURNED

Used to annotate when locks shouldn't be held for a function or if a
function returns a lock that's used by later mutex lock unlock
operations.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250318043151.137973-2-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/mutex.h