diff options
author | Benjamin Tissoires <[email protected]> | 2024-04-10 19:19:31 +0200 |
---|---|---|
committer | Benjamin Tissoires <[email protected]> | 2024-05-07 15:39:26 +0200 |
commit | e906463087cec0a179ddcafe08aeef5899af6b00 (patch) | |
tree | 09ee01e25e496756aaf1d42c4e3c3849355aefa9 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | a7def2e51c667578140d9aa3282533463ed3df91 (diff) |
selftests/hid: add support for HID-BPF pre-loading before starting a test
few required changes:
- we need to count how many times a udev 'bind' event happens
- we need to tell `udev-hid-bpf` to not automatically attach the
provided HID-BPF objects
- we need to manually attach the ones from the kernel tree, and wait
for the second udev 'bind' event to happen
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Peter Hutterer <[email protected]>
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions