Good start from here: https://www.sartura.hr/blog/simple-ebpf-core-application/
The code is here https://github.com/sartura/ebpf-hello-world
/sys/kernel/debug/tracing/events
for example, to list all sys events
sudo ls -la /sys/kernel/debug/tracing/events/syscalls
https://github.com/iovisor/bcc/blob/master/docs/reference_guide.md#6-bpf_get_current_comm
- https://github.com/xdp-project/xdp-tutorial. Quirks in compiling example.
https://github.com/libbpf/libbpf/issues/128
- https://duo.com/labs/tech-notes/writing-an-xdp-network-filter-with-ebpf
- https://developers.redhat.com/blog/2021/04/01/get-started-with-xdp#task_3__map_and_count_the_processed_packets
linux ip command cheat sheet https://access.redhat.com/sites/default/files/attachments/rh_ip_command_cheatsheet_1214_jcs_print.pdf