diff options
author | 2024-03-15 15:44:44 +0100 | |
---|---|---|
committer | 2024-04-10 16:38:37 +0200 | |
commit | 685dadafbde29dc3d6b7a13be284d684b06d4d4f (patch) | |
tree | a3c3ea15f7998a7c241e8d8a8561e94f4e9a52bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/hid: add tests for hid_bpf_input_report (diff) | |
download | wireguard-linux-685dadafbde29dc3d6b7a13be284d684b06d4d4f.tar.xz wireguard-linux-685dadafbde29dc3d6b7a13be284d684b06d4d4f.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions