aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2023-05-23 10:09:24 -0700
committerDan Williams <[email protected]>2023-05-23 12:55:12 -0700
commitf6239d3f8ce4ebc5a5cfa3657377bd5007ae1547 (patch)
tree03e1470806884ec0756d6a09c0a5c0d6eaee0583 /tools/perf/util/trace-event-scripting.c
parenta70fc4ed20a6118837b0aecbbf789074935f473b (diff)
rcuwait: Support timeouts
The rcuwait utility provides an efficient and safe single wait/wake mechanism. It is used in situations where queued wait is the wrong semantics, and often too bulky. For example, cases where the wait is already done under a lock. In the past, rcuwait has been extended to support beyond only uninterruptible sleep, and similarly, there are users that can benefit for the addition of timeouts. As such, tntroduce rcuwait_wait_event_timeout(), with semantics equivalent to calls for queued wait counterparts. Acked-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Davidlohr Bueso <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions