linux
linux copied to clipboard
WIP: BPF support for ARCv2 and ARCv3
This PR enables a couple of features required for better BPF support on ARCompact/ARCv2/ARCv3 architectures:
- HAVE_REGS_AND_STACK_ACCESS_API
- HAVE_SYSCALL_TRACEPOINTS
Known issues with BTF generation:
- https://github.com/foss-for-synopsys-dwc-arc-processors/linux/issues/87
- https://github.com/foss-for-synopsys-dwc-arc-processors/linux/issues/88
With quick workaround applied BTF can be generated. So far the following examples from libbpf-tools have been tried: biopattern, softirqs, vfsstat, filetop, ksnoop, tcpconnect, execsnoop, exitsnoop, mountsnoop, opensnoop, statsnoop, syscount.