summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2026-08-06 15:00:49 +0200
committerJens Axboe <axboe@kernel.dk>2026-08-06 08:14:13 -0600
commit11d4f5e69fe25bc76e27eca75b4ef6f7aae53214 (patch)
tree628d25140f2b50ebd15d71dc314483cc6fc8525a /tools/perf/scripts/python
parentb539aeacf8cc5e9d8e5d94625d2d9c697a167add (diff)
s390/dasd: Add __context_unsafe() attribute to various functions
Disable context analysis for various functions to get rid of context analysis compile time warnings using clang caused by conditional locking like e.g.: drivers/s390/block/dasd_eckd.c:1462:3: warning: releasing mutex 'dasd_pe_handler_mutex' that was not held [-Wthread-safety-analysis] 1462 | mutex_unlock(&dasd_pe_handler_mutex); | ^ Use __context_unsafe() to provide a short comment why context analysis is disabled for each function. It doesn't look like those functions can be easily reworked to get rid of conditional locking. Therefore disable context analysis for (only) those functions. Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Acked-by: Stefan Haberland <sth@linux.ibm.com> Link: https://patch.msgid.link/20260806130050.2057443-2-hca@linux.ibm.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions