Re: [PATCH v6 3/5] tools, perf, script: Add --call-trace and --call-ret-trace

2018-10-02 Thread leo . yan
On Tue, Oct 02, 2018 at 11:24:56AM -0300, Arnaldo Carvalho de Melo wrote: > Em Sat, Sep 29, 2018 at 03:39:03PM +0800, leo@linaro.org escreveu: > > On Fri, Sep 28, 2018 at 10:19:44AM -0700, Andi Kleen wrote: > > > > Seems to me, these two features are _NOT_ only benefit for intel_pt, > > > > oth

Re: [PATCH v6 3/5] tools, perf, script: Add --call-trace and --call-ret-trace

2018-10-02 Thread Arnaldo Carvalho de Melo
Em Sat, Sep 29, 2018 at 03:39:03PM +0800, leo@linaro.org escreveu: > On Fri, Sep 28, 2018 at 10:19:44AM -0700, Andi Kleen wrote: > > > Seems to me, these two features are _NOT_ only benefit for intel_pt, > > > other hardware tracing (e.g. Arm CoreSight) can enable these features > > > as well.

Re: [PATCH v6 3/5] tools, perf, script: Add --call-trace and --call-ret-trace

2018-09-29 Thread leo . yan
On Fri, Sep 28, 2018 at 10:19:44AM -0700, Andi Kleen wrote: > > Seems to me, these two features are _NOT_ only benefit for intel_pt, > > other hardware tracing (e.g. Arm CoreSight) can enable these features > > as well. This patch is to document only for intel_pt, later if we > > enable this featu

Re: [PATCH v6 3/5] tools, perf, script: Add --call-trace and --call-ret-trace

2018-09-28 Thread Andi Kleen
> Seems to me, these two features are _NOT_ only benefit for intel_pt, > other hardware tracing (e.g. Arm CoreSight) can enable these features > as well. This patch is to document only for intel_pt, later if we > enable this feature on Arm platform we need to change the doc; > alternatively we can

Re: [PATCH v6 3/5] tools, perf, script: Add --call-trace and --call-ret-trace

2018-09-28 Thread leo . yan
Hi Andi, On Thu, Sep 20, 2018 at 11:05:38AM -0700, Andi Kleen wrote: > From: Andi Kleen > > Add short cut options to print PT call trace and call-ret-trace, > for calls and call and returns. Roughly corresponds to ftrace > function tracer and function graph tracer. > > Just makes these common u

[PATCH v6 3/5] tools, perf, script: Add --call-trace and --call-ret-trace

2018-09-20 Thread Andi Kleen
From: Andi Kleen Add short cut options to print PT call trace and call-ret-trace, for calls and call and returns. Roughly corresponds to ftrace function tracer and function graph tracer. Just makes these common use cases nicer to use. % perf record -a -e intel_pt// sleep 1 % perf script --call-