Re: [PATCH v1 0/4] perf augmented_raw_syscalls: Support for arm64
From: Leo Yan
Date: Thu Jun 06 2019 - 05:56:19 EST
On Thu, Jun 06, 2019 at 03:56:13PM +0800, Leo Yan wrote:
> 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.
I found minor issues in patch 0003, so sent out v2 for reviewing.
Sorry for spamming.
> 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(-)