HID: samples: convert the 2 HID-BPF samples into struct_ops
This is mostly mechanical: attach_prog is dropped, and the SEC are converted into struct_ops. Link: https://lore.kernel.org/r/20240608-hid_bpf_struct_ops-v3-5-6ac6ade58329@kernel.org Signed-off-by:Benjamin Tissoires <bentiss@kernel.org>
Showing
- samples/hid/Makefile 2 additions, 3 deletionssamples/hid/Makefile
- samples/hid/hid_bpf_attach.bpf.c 0 additions, 18 deletionssamples/hid/hid_bpf_attach.bpf.c
- samples/hid/hid_bpf_attach.h 0 additions, 14 deletionssamples/hid/hid_bpf_attach.h
- samples/hid/hid_mouse.bpf.c 21 additions, 5 deletionssamples/hid/hid_mouse.bpf.c
- samples/hid/hid_mouse.c 11 additions, 28 deletionssamples/hid/hid_mouse.c
- samples/hid/hid_surface_dial.bpf.c 8 additions, 2 deletionssamples/hid/hid_surface_dial.bpf.c
- samples/hid/hid_surface_dial.c 15 additions, 38 deletionssamples/hid/hid_surface_dial.c
Loading
Please register or sign in to comment