lkml.org 
[lkml]   [2019]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 0/4] perf augmented_raw_syscalls: Support for arm64
Hi all,

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.

Thanks,
Leo Yan

> 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
>

\
 
 \ /
  Last update: 2019-06-06 11:52    [W:0.043 / U:0.020 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site