Hi Arnaldo,

On Thu, May 30, 2019 at 10:36:45AM -0300, Arnaldo Carvalho de Melo wrote:

[...]

> One other way of testing this:
> 
> I used perf trace's use of BPF, using:
> 
> [root@quaco ~]# cat ~/.perfconfig
> [llvm]
>       dump-obj = true
>       clang-opt = -g
> [trace]
>       add_events = 
> /home/acme/git/perf/tools/perf/examples/bpf/augmented_raw_syscalls.c
>       show_zeros = yes
>       show_duration = no
>       no_inherit = yes
>       show_timestamp = no
>       show_arg_names = no
>       args_alignment = 40
>       show_prefix = yes
> 
> For arm64 this needs fixing, tools/perf/examples/bpf/augmented_raw_syscalls.c
> (its in the kernel sources) is still hard coded for x86_64 syscall numbers :-\

Thanks a lot for sharing this, I will test with this method and let you
and Jiri know the result in tomorrow.

[...]

Thanks,
Leo Yan

Reply via email to