perf tools: add support for generating bpf prologue on powerpc
Arnaldo Carvalho de Melo
acme at redhat.com
Tue May 10 06:14:34 AEST 2016
Em Sat, May 07, 2016 at 02:15:36PM +1000, Michael Ellerman escreveu:
> On Thu, 2016-05-05 at 15:23:19 UTC, "Naveen N. Rao" wrote:
> > Generalize existing macros to serve the purpose.
> >
> > Cc: Wang Nan <wangnan0 at huawei.com>
> > Cc: Arnaldo Carvalho de Melo <acme at redhat.com>
> > Cc: Masami Hiramatsu <mhiramat at kernel.org>
> > Cc: Ian Munsie <imunsie at au1.ibm.com>
> > Cc: Michael Ellerman <mpe at ellerman.id.au>
> > Signed-off-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>
> > ---
> > 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?
Its upstream already :-)
- Arnaldo
More information about the Linuxppc-dev
mailing list