diff options
author | Benjamin Tissoires <[email protected]> | 2024-06-26 15:46:27 +0200 |
---|---|---|
committer | Benjamin Tissoires <[email protected]> | 2024-06-27 11:00:12 +0200 |
commit | 015a4a2a439b285943da471d38b2721bbe4d8b39 (patch) | |
tree | a3d840ad28df57e4e9bab80e8b57ba6289863fb0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 75839101ce52e319cb2154a027d14f1f0aa3be09 (diff) |
selftests/hid: add tests for hid_hw_raw_request HID-BPF hooks
We add 3 new tests:
- first, we make sure we can prevent the raw_request to happen
- second, we make sure that we can detect that a given hidraw client
was actually doing the request, and for that client only, call ourself
hid_bpf_hw_request(), returning a custom value
- last, we ensure that we can not loop between hooks for
hid_hw_raw_request() and manual calls to hid_bpf_hw_request() from that
hook
Link: https://patch.msgid.link/[email protected]
Acked-by: Jiri Kosina <[email protected]>
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions