diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2024-03-15 15:44:44 +0100 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2024-04-10 16:38:37 +0200 |
commit | 685dadafbde29dc3d6b7a13be284d684b06d4d4f (patch) | |
tree | a3c3ea15f7998a7c241e8d8a8561e94f4e9a52bf /tools/perf/scripts/python/stackcollapse.py | |
parent | 2c0e8ced7d4bf746923fc424415844d695f07808 (diff) |
HID: bpf: allow to use bpf_timer_set_sleepable_cb() in tracing callbacks.
Export the sleepable kfuncs we have on HID-BPF in tracing bpf programs,
but with the condition of being used in a sleepable context.
This allows to use the bpf_timer when used in a sleepable context
through bpf_timer_set_sleepable_cb() and initiate work from a device event.
Link: https://lore.kernel.org/r/20240315-b4-hid-bpf-new-funcs-v4-7-079c282469d3@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions