diff options
author | 2024-08-27 17:19:31 +0900 | |
---|---|---|
committer | 2024-08-29 10:39:37 +0200 | |
commit | 8163892a629ca544af575ce54955bf275a3250cd (patch) | |
tree | ccaa5e2ed60fd8b46f9350740624cd8b66f8e933 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | selftests/hid: extract the utility part of hid_bpf.c into its own header (diff) | |
download | wireguard-linux-8163892a629ca544af575ce54955bf275a3250cd.tar.xz wireguard-linux-8163892a629ca544af575ce54955bf275a3250cd.zip |
selftests/hid: Add initial hidraw tests skeleton
Largely inspired from hid_bpf.c for the fixture setup.
Create a couple of tests for hidraw:
- create a uhid device and check if the fixture is working properly
- inject one uhid event and read it through hidraw
These tests are not that useful for now, but will be once we start adding
the ioctl and BPFs to revoke the hidraw node.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Link: https://patch.msgid.link/20240827-hidraw-revoke-v5-3-d004a7451aea@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions