[PATCH v1 0/4] perf augmented_raw_syscalls: Support for arm64

From: Leo Yan
Date: Thu Jun 06 2019 - 04:00:45 EST


When I tried to run the trace on arm64 platform with eBPF program
augmented_raw_syscalls, it reports several failures for eBPF program
compilation. So tried to resolve these issues and this patch set is
the working result.

0001 patch lets perf command to exit directly if find eBPF program
building failure.

0002 patch is minor refactoring code to remove duplicate macro.

0003 patch is to add support arm64 raw syscalls numbers.

0004 patch is to document clang configuration so that can easily use
this program on both x86_64 and aarch64 platforms.


Leo Yan (4):
perf trace: Exit when build eBPF program failure
perf augmented_raw_syscalls: Remove duplicate macros
perf augmented_raw_syscalls: Support arm64 raw syscalls
perf augmented_raw_syscalls: Document clang configuration

tools/perf/builtin-trace.c | 8 ++
.../examples/bpf/augmented_raw_syscalls.c | 102 +++++++++++++++++-
2 files changed, 109 insertions(+), 1 deletion(-)

--
2.17.1