diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2024-03-15 17:44:44 +0300 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2024-04-10 17:38:37 +0300 |
commit | 685dadafbde29dc3d6b7a13be284d684b06d4d4f (patch) | |
tree | a3c3ea15f7998a7c241e8d8a8561e94f4e9a52bf /scripts/lib/kdoc/kdoc_files.py | |
parent | 2c0e8ced7d4bf746923fc424415844d695f07808 (diff) | |
download | linux-685dadafbde29dc3d6b7a13be284d684b06d4d4f.tar.xz |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions