summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorGuixin Liu <kanie@linux.alibaba.com>2026-09-16 10:54:52 +0800
committerDave Jiang <dave.jiang@intel.com>2026-09-18 11:07:20 -0700
commit18f26958544783b0f30210c41fc0c0da11b8d9a4 (patch)
tree349b7b97fce6b1160bd2d6443117da0288a93435 /tools/perf/scripts/python/bin/stackcollapse-report
parentb25af6afd2f26b455108bab03dfeba52378e8dd2 (diff)
downloadlinux-next-18f26958544783b0f30210c41fc0c0da11b8d9a4.tar.gz
linux-next-18f26958544783b0f30210c41fc0c0da11b8d9a4.zip
driver core: Add conditional guard support for device_trylock()
Introduce a conditional guard version of device_trylock() for scenarios that must not block on the device lock. device_trylock() returns 1 on success like mutex_trylock(), so the default binary condition applies and ACQUIRE_ERR() reports -EBUSY on contention. Suggested-by: Shaikh Kamaluddin <shaikhkamal2012@gmail.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://patch.msgid.link/20260916025453.3532614-2-kanie@linux.alibaba.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions