Subject: Re: perf tools: add support for generating bpf prologue on powerpc

From: Michael Ellerman <[email-masked]>
Date: Sat, 7 May 2016 14:15:36 +1000 (AEST)

On Thu, 2016-05-05 at 15:23:19 UTC, "Naveen N. Rao" wrote:
> Generalize existing macros to serve the purpose.
> 
> Cc: Wang Nan <[email-masked]>
> Cc: Arnaldo Carvalho de Melo <[email-masked]>
> Cc: Masami Hiramatsu <[email-masked]>
> Cc: Ian Munsie <[email-masked]>
> Cc: Michael Ellerman <[email-masked]>
> Signed-off-by: Naveen N. Rao <[email-masked]>
> ---
> With this patch:
>     # ./perf test 37
>     37: Test BPF filter                                          :
>     37.1: Test basic BPF filtering                               : Ok
>     37.2: Test BPF prologue generation                           : Ok
>     37.3: Test BPF relocation checker                            : Ok
> 
>  tools/perf/arch/powerpc/Makefile          |  1 +
>  tools/perf/arch/powerpc/util/dwarf-regs.c | 40 +++++++++++++++++++++----------
>  2 files changed, 29 insertions(+), 12 deletions(-)

Looks feasible, and is in powerpc only code, should I take this or acme?

cheers