summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKurt Borja <kuurtb@gmail.com>2026-01-20 01:20:43 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-01-22 20:53:17 +0000
commit2daee817df13fb539be01a6a8094d52667d402f6 (patch)
tree22ee4dd50726710bfa3514aa05a7c66f76f096eb /tools/perf/scripts/python/stackcollapse.py
parentc37ec9d507966a827913f42e06179e3475a00181 (diff)
downloadlinux-2daee817df13fb539be01a6a8094d52667d402f6.tar.gz
linux-2daee817df13fb539be01a6a8094d52667d402f6.zip
iio: core: Match iio_device_claim_*() semantics and implementation
Implement iio_device_claim_buffer_mode() fully inline with the use of __iio_dev_mode_lock(), which takes care of sparse annotations. To completely match iio_device_claim_direct() semantics, we need to also change iio_device_claim_buffer_mode() return semantics to usual true/false conditional lock semantics. Additionally, to avoid silently breaking out-of-tree drivers, rename iio_device_claim_buffer_mode() to iio_device_claim_try_buffer_mode(). Reviewed-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Kurt Borja <kuurtb@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions