linux icon indicating copy to clipboard operation
linux copied to clipboard

WIP: BPF support for ARCv2 and ARCv3

Open geomatsi opened this issue 3 years ago • 0 comments

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.

geomatsi avatar Apr 12 '22 16:04 geomatsi