diff options
author | 2023-01-13 10:09:31 +0100 | |
---|---|---|
committer | 2023-01-18 22:08:38 +0100 | |
commit | 2574917a2b48f87bd45f1c3e6d80c976f4fe3c3d (patch) | |
tree | c081acdd5c2d21eee73b1f684379367f179f83df /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | selftests: hid: ensure the program is correctly pinned (diff) | |
download | wireguard-linux-2574917a2b48f87bd45f1c3e6d80c976f4fe3c3d.tar.xz wireguard-linux-2574917a2b48f87bd45f1c3e6d80c976f4fe3c3d.zip |
selftests: hid: prepare tests for HID_BPF API change
We plan on changing the return value of hid_bpf_attach_prog().
Instead of returning an error code, it will return an fd to a bpf_link.
This bpf_link is responsible for the binding between the bpf program and
the hid device.
Add a fallback mechanism to not break bisections by pinning the program
when we run this test against the non changed kernel.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions