[PATCH v2 0/4] ARC: add missing bits for better BPF support
Sergey Matyukevich
geomatsi at gmail.com
Thu Apr 14 01:17:20 PDT 2022
Hi Vineet and all,
Here is the second revision of the patch series implementing
the following two features for ARC:
- HAVE_REGS_AND_STACK_ACCESS_API
- HAVE_SYSCALL_TRACEPOINTS
Adding these features enables more BPF programs for ARC kernels,
including KPROBE, TRACEPOINT, PERF_EVENT program types.
Regards,
Sergey
v1 -> v2:
- drop path with uapi for BPF_PROG_TYPE_PERF_EVENT program type: send it via bpf mailing list
- add patch with ARCv2 changes for kprobe disasm
Sergey Matyukevich (4):
ARC: enable HAVE_REGS_AND_STACK_ACCESS_API feature
ARC: entry: fix syscall_trace_exit argument
ARC: implement syscall tracepoints
ARC: disasm: handle ARCv2 case in kprobe get/set functions
arch/arc/Kconfig | 2 +
arch/arc/include/asm/ptrace.h | 27 ++++++
arch/arc/include/asm/syscall.h | 2 +
arch/arc/include/asm/thread_info.h | 5 +-
arch/arc/kernel/disasm.c | 64 ++++++++++++-
arch/arc/kernel/entry.S | 13 +--
arch/arc/kernel/ptrace.c | 140 ++++++++++++++++++++++++++++-
7 files changed, 241 insertions(+), 12 deletions(-)
--
2.35.1
More information about the linux-snps-arc
mailing list