]> Gentwo Git Trees - linux/.git/commit
rtla/timerlat: Exit top main loop on any non-zero wait_retval
authorCrystal Wood <crwood@redhat.com>
Wed, 12 Nov 2025 15:25:28 +0000 (09:25 -0600)
committerTomas Glozar <tglozar@redhat.com>
Fri, 21 Nov 2025 09:30:27 +0000 (10:30 +0100)
commit3138df6f0cd04a75f8efa5b5270ba56d00a84ae6
tree083ccfbaf100548919e7e502a2a402ace3768db0
parent61f1fd5d69fde27cfc277d1f68a1e6e4f7265b4b
rtla/timerlat: Exit top main loop on any non-zero wait_retval

Comparing to exactly 1 will fail if more than one ring buffer
event was seen since the last call to timerlat_bpf_wait(), which
can happen in some race scenarios.

Signed-off-by: Crystal Wood <crwood@redhat.com>
Link: https://lore.kernel.org/r/20251112152529.956778-5-crwood@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
tools/tracing/rtla/src/timerlat_top.c