Re: [PATCH 1/4] perf tools: Split -g and --call-graph for record command

2013-10-29 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 29, 2013 at 11:18:50AM +0100, Jiri Olsa escreveu: > On Mon, Oct 28, 2013 at 04:59:16PM +0900, Namhyung Kim wrote: > > > All current '-g' arguments is overtaken by --call-graph option. > > $ perf record --call-graph none -- true > > > > It should be > > callchain: Unknown --call-

Re: [PATCH 1/4] perf tools: Split -g and --call-graph for record command

2013-10-29 Thread Jiri Olsa
On Mon, Oct 28, 2013 at 04:59:16PM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Sat, 26 Oct 2013 16:25:33 +0200, Jiri Olsa wrote: > > Splitting -g and --call-graph for record command, so we could > > use '-g' with no option. > > > > The '-g' option now takes NO argument and enables the configured

Re: [PATCH 1/4] perf tools: Split -g and --call-graph for record command

2013-10-28 Thread Namhyung Kim
On Mon, 28 Oct 2013 12:20:53 -0600, David Ahern wrote: > On 10/28/13 11:46 AM, Arnaldo Carvalho de Melo wrote: >> Added this: >> >> --call-graph:: >> Setup and enable call-graph (stack chain/backtrace) recording, >> implies -g. >> >> Allows specifying "fp" (frame pointer)

Re: [PATCH 1/4] perf tools: Split -g and --call-graph for record command

2013-10-28 Thread David Ahern
On 10/28/13 11:46 AM, Arnaldo Carvalho de Melo wrote: Added this: --call-graph:: Setup and enable call-graph (stack chain/backtrace) recording, implies -g. Allows specifying "fp" (frame pointer) or "dwarf" (DWARF's CFI - Call Frame Information) as the method

Re: [PATCH 1/4] perf tools: Split -g and --call-graph for record command

2013-10-28 Thread Arnaldo Carvalho de Melo
Em Sun, Oct 27, 2013 at 09:30:06AM -0600, David Ahern escreveu: > On 10/26/13 8:25 AM, Jiri Olsa wrote: > >diff --git a/tools/perf/Documentation/perf-record.txt > >b/tools/perf/Documentation/perf-record.txt > >index f10ab63..7be62770 100644 > >--- a/tools/perf/Documentation/perf-record.txt > >+++

Re: [PATCH 1/4] perf tools: Split -g and --call-graph for record command

2013-10-28 Thread Namhyung Kim
Hi Jiri, On Sat, 26 Oct 2013 16:25:33 +0200, Jiri Olsa wrote: > Splitting -g and --call-graph for record command, so we could > use '-g' with no option. > > The '-g' option now takes NO argument and enables the configured > unwind method, which is currently the frame pointers method. > > It will b

Re: [PATCH 1/4] perf tools: Split -g and --call-graph for record command

2013-10-27 Thread David Ahern
On 10/26/13 8:25 AM, Jiri Olsa wrote: diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt index f10ab63..7be62770 100644 --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt @@ -92,8 +92,12 @@ OPTIONS s

[PATCH 1/4] perf tools: Split -g and --call-graph for record command

2013-10-26 Thread Jiri Olsa
Splitting -g and --call-graph for record command, so we could use '-g' with no option. The '-g' option now takes NO argument and enables the configured unwind method, which is currently the frame pointers method. It will be possible to configure unwind method via config file in upcoming patches.