Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-06 Thread Masami Hiramatsu
(2014/11/05 22:04), Arnaldo Carvalho de Melo wrote: > Em Wed, Nov 05, 2014 at 01:22:46AM +0900, Masami Hiramatsu escreveu: >> (2014/11/04 23:38), Arnaldo Carvalho de Melo wrote: >>> Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: (2014/11/04 1:19), Arnaldo Carvalho de

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-06 Thread Masami Hiramatsu
(2014/11/05 22:04), Arnaldo Carvalho de Melo wrote: Em Wed, Nov 05, 2014 at 01:22:46AM +0900, Masami Hiramatsu escreveu: (2014/11/04 23:38), Arnaldo Carvalho de Melo wrote: Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: (2014/11/04 1:19), Arnaldo Carvalho de Melo wrote:

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-05 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 05, 2014 at 01:22:46AM +0900, Masami Hiramatsu escreveu: > (2014/11/04 23:38), Arnaldo Carvalho de Melo wrote: > > Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: > >> (2014/11/04 1:19), Arnaldo Carvalho de Melo wrote: > >>> Em Mon, Nov 03, 2014 at 09:11:18PM

Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-05 Thread Masami Hiramatsu
(2014/11/05 15:23), Namhyung Kim wrote: > On Wed, 05 Nov 2014 01:22:46 +0900, Masami Hiramatsu wrote: >> (2014/11/04 23:38), Arnaldo Carvalho de Melo wrote: >>> Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: OK, I agree using .debug/.buildid/ to store caches. Here

Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-05 Thread Masami Hiramatsu
(2014/11/05 15:23), Namhyung Kim wrote: On Wed, 05 Nov 2014 01:22:46 +0900, Masami Hiramatsu wrote: (2014/11/04 23:38), Arnaldo Carvalho de Melo wrote: Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: OK, I agree using .debug/.buildid/ to store caches. Here is what I'm

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-05 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 05, 2014 at 01:22:46AM +0900, Masami Hiramatsu escreveu: (2014/11/04 23:38), Arnaldo Carvalho de Melo wrote: Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: (2014/11/04 1:19), Arnaldo Carvalho de Melo wrote: Em Mon, Nov 03, 2014 at 09:11:18PM +0900, Masami

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-04 Thread Namhyung Kim
On Wed, 05 Nov 2014 01:22:46 +0900, Masami Hiramatsu wrote: > (2014/11/04 23:38), Arnaldo Carvalho de Melo wrote: >> Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: >>> OK, I agree using .debug/.buildid/ to store caches. >>> Here is what I'm thinking, >> >>> # this makes

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-04 Thread Namhyung Kim
Hi Masami, On Tue, 04 Nov 2014 14:44:28 +0900, Masami Hiramatsu wrote: > (2014/11/04 12:14), Namhyung Kim wrote: >> Hi Masami, >> >> On Fri, 31 Oct 2014 14:51:29 -0400, Masami Hiramatsu wrote: >>> So by using all of them, we can make an "event cache" file on all >>> functions (except for inlined

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-04 Thread Masami Hiramatsu
(2014/11/04 23:38), Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: >> (2014/11/04 1:19), Arnaldo Carvalho de Melo wrote: >>> Em Mon, Nov 03, 2014 at 09:11:18PM +0900, Masami Hiramatsu escreveu: (2014/10/31 21:13), Arnaldo Carvalho de

Re: Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-04 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: > (2014/11/04 1:19), Arnaldo Carvalho de Melo wrote: > > Em Mon, Nov 03, 2014 at 09:11:18PM +0900, Masami Hiramatsu escreveu: > >> (2014/10/31 21:13), Arnaldo Carvalho de Melo wrote: > >>> Em Fri, Oct 31, 2014 at 02:51:29PM

Re: Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-04 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: (2014/11/04 1:19), Arnaldo Carvalho de Melo wrote: Em Mon, Nov 03, 2014 at 09:11:18PM +0900, Masami Hiramatsu escreveu: (2014/10/31 21:13), Arnaldo Carvalho de Melo wrote: Em Fri, Oct 31, 2014 at 02:51:29PM -0400, Masami

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-04 Thread Masami Hiramatsu
(2014/11/04 23:38), Arnaldo Carvalho de Melo wrote: Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: (2014/11/04 1:19), Arnaldo Carvalho de Melo wrote: Em Mon, Nov 03, 2014 at 09:11:18PM +0900, Masami Hiramatsu escreveu: (2014/10/31 21:13), Arnaldo Carvalho de Melo wrote:

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-04 Thread Namhyung Kim
Hi Masami, On Tue, 04 Nov 2014 14:44:28 +0900, Masami Hiramatsu wrote: (2014/11/04 12:14), Namhyung Kim wrote: Hi Masami, On Fri, 31 Oct 2014 14:51:29 -0400, Masami Hiramatsu wrote: So by using all of them, we can make an event cache file on all functions (except for inlined functions) as

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-04 Thread Namhyung Kim
On Wed, 05 Nov 2014 01:22:46 +0900, Masami Hiramatsu wrote: (2014/11/04 23:38), Arnaldo Carvalho de Melo wrote: Em Tue, Nov 04, 2014 at 01:36:31PM +0900, Masami Hiramatsu escreveu: OK, I agree using .debug/.buildid/ to store caches. Here is what I'm thinking, # this makes caches for

Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Masami Hiramatsu
(2014/11/04 12:14), Namhyung Kim wrote: > Hi Masami, > > On Fri, 31 Oct 2014 14:51:29 -0400, Masami Hiramatsu wrote: >> Hi, >> >> Here is a sereis of patches for enabling "event cache" feature >> to perf probe. Brendan gives me this cool idea, thanks! :) >> >> In this series, I added following

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Namhyung Kim
Hi Arnaldo and Masami, On Mon, 3 Nov 2014 14:19:00 -0200, Arnaldo Carvalho de Melo wrote: > [root@zoo ~]# perf buildid-cache --hell > Error: unknown option `hell' > > usage: perf buildid-cache [] > > -a, --add > file(s) to add > -k, --kcore kcore file to

Re: Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Masami Hiramatsu
(2014/11/04 1:19), Arnaldo Carvalho de Melo wrote: > Em Mon, Nov 03, 2014 at 09:11:18PM +0900, Masami Hiramatsu escreveu: >> (2014/10/31 21:13), Arnaldo Carvalho de Melo wrote: >>> Em Fri, Oct 31, 2014 at 02:51:29PM -0400, Masami Hiramatsu escreveu: p:probe/reset_early_page_tables

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Namhyung Kim
Hi Masami, On Fri, 31 Oct 2014 14:51:29 -0400, Masami Hiramatsu wrote: > Hi, > > Here is a sereis of patches for enabling "event cache" feature > to perf probe. Brendan gives me this cool idea, thanks! :) > > In this series, I added following options/features; > - --output option >We can

Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 03, 2014 at 09:11:18PM +0900, Masami Hiramatsu escreveu: > (2014/10/31 21:13), Arnaldo Carvalho de Melo wrote: > > Em Fri, Oct 31, 2014 at 02:51:29PM -0400, Masami Hiramatsu escreveu: > >> p:probe/reset_early_page_tables _text+12980741 > >> p:probe/copy_bootdata _text+12980830

Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Masami Hiramatsu
(2014/10/31 21:13), Arnaldo Carvalho de Melo wrote: > Em Fri, Oct 31, 2014 at 02:51:29PM -0400, Masami Hiramatsu escreveu: >> Hi, >> >> Here is a sereis of patches for enabling "event cache" feature >> to perf probe. Brendan gives me this cool idea, thanks! :) >> >> In this series, I added

Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Masami Hiramatsu
(2014/10/31 21:13), Arnaldo Carvalho de Melo wrote: Em Fri, Oct 31, 2014 at 02:51:29PM -0400, Masami Hiramatsu escreveu: Hi, Here is a sereis of patches for enabling event cache feature to perf probe. Brendan gives me this cool idea, thanks! :) In this series, I added following

Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 03, 2014 at 09:11:18PM +0900, Masami Hiramatsu escreveu: (2014/10/31 21:13), Arnaldo Carvalho de Melo wrote: Em Fri, Oct 31, 2014 at 02:51:29PM -0400, Masami Hiramatsu escreveu: p:probe/reset_early_page_tables _text+12980741 p:probe/copy_bootdata _text+12980830

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Namhyung Kim
Hi Masami, On Fri, 31 Oct 2014 14:51:29 -0400, Masami Hiramatsu wrote: Hi, Here is a sereis of patches for enabling event cache feature to perf probe. Brendan gives me this cool idea, thanks! :) In this series, I added following options/features; - --output option We can save the

Re: Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Masami Hiramatsu
(2014/11/04 1:19), Arnaldo Carvalho de Melo wrote: Em Mon, Nov 03, 2014 at 09:11:18PM +0900, Masami Hiramatsu escreveu: (2014/10/31 21:13), Arnaldo Carvalho de Melo wrote: Em Fri, Oct 31, 2014 at 02:51:29PM -0400, Masami Hiramatsu escreveu: p:probe/reset_early_page_tables _text+12980741

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Namhyung Kim
Hi Arnaldo and Masami, On Mon, 3 Nov 2014 14:19:00 -0200, Arnaldo Carvalho de Melo wrote: [root@zoo ~]# perf buildid-cache --hell Error: unknown option `hell' usage: perf buildid-cache [options] -a, --add file list file(s) to add -k, --kcore file

Re: Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-11-03 Thread Masami Hiramatsu
(2014/11/04 12:14), Namhyung Kim wrote: Hi Masami, On Fri, 31 Oct 2014 14:51:29 -0400, Masami Hiramatsu wrote: Hi, Here is a sereis of patches for enabling event cache feature to perf probe. Brendan gives me this cool idea, thanks! :) In this series, I added following options/features;

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-10-31 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 31, 2014 at 02:51:29PM -0400, Masami Hiramatsu escreveu: > Hi, > > Here is a sereis of patches for enabling "event cache" feature > to perf probe. Brendan gives me this cool idea, thanks! :) > > In this series, I added following options/features; > - --output option >We can save

[PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-10-31 Thread Masami Hiramatsu
Hi, Here is a sereis of patches for enabling "event cache" feature to perf probe. Brendan gives me this cool idea, thanks! :) In this series, I added following options/features; - --output option We can save the probe definition command for given probe-event instead of setting up the

[PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-10-31 Thread Masami Hiramatsu
Hi, Here is a sereis of patches for enabling event cache feature to perf probe. Brendan gives me this cool idea, thanks! :) In this series, I added following options/features; - --output option We can save the probe definition command for given probe-event instead of setting up the local

Re: [PATCH perf/core 0/6] perf-probe: Bugfix and add new options for cache

2014-10-31 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 31, 2014 at 02:51:29PM -0400, Masami Hiramatsu escreveu: Hi, Here is a sereis of patches for enabling event cache feature to perf probe. Brendan gives me this cool idea, thanks! :) In this series, I added following options/features; - --output option We can save the probe