summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMartin Aberer <martin.aberer@bachmann.info>2026-03-24 15:05:56 +0100
committerAndi Shyti <andi.shyti@kernel.org>2026-03-27 14:53:25 +0100
commit8461f5e3887404b19ba073fd1cc92e2f8f73185b (patch)
tree826f66457e5c4f2d4beb0a913d89bb97b832e16a /tools/perf/scripts/python/bin/stackcollapse-report
parent3762e535f2c9b31716a982d9fdd5c51d5ec7aa42 (diff)
i2c: ocores: Use read_poll_timeout_atomic to avoid false poll timeouts
Replace the manual polling loop in ocores_wait() with the kernel helper read_poll_timeout_atomic(). This simplifies the code and ensures robust timeout handling. In particular, the helper guarantees a condition check after the delay, even if the delay exceeds the timeout, avoiding spurious timeout errors under load or preemption. Signed-off-by: Martin Aberer <martin.aberer@bachmann.info> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20260324140556.2249039-1-martin.aberer@bachmann.info
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions