aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAlice Ryhl <[email protected]>2023-08-28 10:48:06 +0000
committerTejun Heo <[email protected]>2023-09-25 09:46:42 -1000
commit115c95e9e14c482682080598907e6a18091fd0af (patch)
tree1628ae3751ab583e7b802f6b415430c37ddead7c /tools/perf/util/trace-event-scripting.c
parent47f0dbe8fdc28e6e79505b640619e0cbccb91cef (diff)
rust: workqueue: add `try_spawn` helper method
This adds a convenience method that lets you spawn a closure for execution on a workqueue. This will be the most convenient way to use workqueues, but it is fallible because it needs to allocate memory. Co-developed-by: Gary Guo <[email protected]> Signed-off-by: Gary Guo <[email protected]> Signed-off-by: Alice Ryhl <[email protected]> Reviewed-by: Martin Rodriguez Reboredo <[email protected]> Reviewed-by: "Andreas Hindborg (Samsung)" <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Reviewed-by: Boqun Feng <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions