[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180830185026.GI6097@kernel.org>
Date: Thu, 30 Aug 2018 15:50:27 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Ravi Bangoria <ravi.bangoria@...ux.ibm.com>,
srikar@...ux.vnet.ibm.com, oleg@...hat.com, mhiramat@...nel.org,
liu.song.a23@...il.com, peterz@...radead.org, mingo@...hat.com,
alexander.shishkin@...ux.intel.com, jolsa@...hat.com,
namhyung@...nel.org, linux-kernel@...r.kernel.org,
ananth@...ux.vnet.ibm.com, alexis.berlemont@...il.com,
naveen.n.rao@...ux.vnet.ibm.com,
linux-arm-kernel@...ts.infradead.org, linux-mips@...ux-mips.org,
linux@...linux.org.uk, ralf@...ux-mips.org, paul.burton@...s.com
Subject: Re: [PATCH v9 4/4] perf probe: Support SDT markers having reference
counter (semaphore)
Em Thu, Aug 30, 2018 at 02:45:31PM -0400, Steven Rostedt escreveu:
>
> Arnaldo,
>
> I'm going to be playing with some of the probe code which may conflict
> with these patches, so I would like to pull these in my tree. But this
> patch requires an Acked-by from you before I can pull it in.
>
> You OK with this?
Acked-by: Arnaldo Carvalho de Melo <acme@...hat.com>
> Thanks!
>
> -- Steve
>
>
> On Mon, 20 Aug 2018 10:12:50 +0530
> Ravi Bangoria <ravi.bangoria@...ux.ibm.com> wrote:
>
> > With this, perf buildid-cache will save SDT markers with reference
> > counter in probe cache. Perf probe will be able to probe markers
> > having reference counter. Ex,
> >
> > # readelf -n /tmp/tick | grep -A1 loop2
> > Name: loop2
> > ... Semaphore: 0x0000000010020036
> >
> > # ./perf buildid-cache --add /tmp/tick
> > # ./perf probe sdt_tick:loop2
> > # ./perf stat -e sdt_tick:loop2 /tmp/tick
> > hi: 0
> > hi: 1
> > hi: 2
> > ^C
> > Performance counter stats for '/tmp/tick':
> > 3 sdt_tick:loop2
> > 2.561851452 seconds time elapsed
> >
> > Signed-off-by: Ravi Bangoria <ravi.bangoria@...ux.ibm.com>
> > Acked-by: Masami Hiramatsu <mhiramat@...nel.org>
> > Acked-by: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
Powered by blists - more mailing lists