Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1396814

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

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: perf tools: add support for generating bpf prologue on powerpc
Date 2016-05-09 10:00 +0200
Message-ID <rwOgH-II-39@gated-at.bofh.it> (permalink)
References <rvtnY-2lG-31@gated-at.bofh.it> <rw1SF-2Kd-1@gated-at.bofh.it> <rw8r7-Ad-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 2016-05-07 at 16:43 +0530, Naveen N. Rao wrote:
> On 2016/05/07 02:15PM, Michael Ellerman wrote:
> > 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@huawei.com>
> > > Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
> > > Cc: Masami Hiramatsu <mhiramat@kernel.org>
> > > Cc: Ian Munsie <imunsie@au1.ibm.com>
> > > Cc: Michael Ellerman <mpe@ellerman.id.au>
> > > Signed-off-by: Naveen N. Rao <naveen.n.rao@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?
> 
> Hi Michael,
> Arnaldo has already pulled this in:
> http://article.gmane.org/gmane.linux.kernel/2216051

Ah sorry.

> It would be good if you can consider user stackdump as that depends on 
> perf regs support which you have added to powerpc-next:
> http://thread.gmane.org/gmane.linux.kernel/2210299/focus=2210749

Yep I did, it's in next.

https://git.kernel.org/cgit/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=826dccfd238c3eeac379f5f637e5a3ddc7a4bc22

cheers

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] perf tools: add support for generating bpf prologue on powerpc "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2016-05-05 17:30 +0200
  [tip:perf/core] perf tools powerpc: Add support for generating bpf  prologue "tip-bot for Naveen N. Rao" <tipbot@zytor.com> - 2016-05-06 08:50 +0200
  Re: perf tools: add support for generating bpf prologue on powerpc Michael Ellerman <mpe@ellerman.id.au> - 2016-05-07 06:20 +0200
    Re: perf tools: add support for generating bpf prologue on powerpc "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2016-05-07 13:20 +0200
      Re: perf tools: add support for generating bpf prologue on powerpc Michael Ellerman <mpe@ellerman.id.au> - 2016-05-09 10:00 +0200
    Re: perf tools: add support for generating bpf prologue on powerpc Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-05-09 22:20 +0200

csiph-web