Re: [PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-06 Thread Jiri Olsa
On Mon, Oct 05, 2015 at 04:20:40PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Oct 05, 2015 at 08:06:05PM +0200, Jiri Olsa escreveu: > > The 'P' will cause the event to get maximum possible > > detected precise level. > > > > Following record: > > $ perf record -e cycles:P ... > > > >

Re: [PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-06 Thread Jiri Olsa
On Mon, Oct 05, 2015 at 04:20:40PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Oct 05, 2015 at 08:06:05PM +0200, Jiri Olsa escreveu: > > The 'P' will cause the event to get maximum possible > > detected precise level. > > > > Following record: > > $ perf record -e cycles:P ... > > > >

Re: [PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-05 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 05, 2015 at 08:06:05PM +0200, Jiri Olsa escreveu: > The 'P' will cause the event to get maximum possible > detected precise level. > > Following record: > $ perf record -e cycles:P ... > > will detect maximum precise level for 'cycles' event > and use it. I had to do a 'make -C

Re: [PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-05 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 05, 2015 at 08:38:06PM +0200, Jiri Olsa escreveu: > On Mon, Oct 05, 2015 at 12:13:48PM -0600, David Ahern wrote: > > On 10/5/15 12:06 PM, Jiri Olsa wrote: > > >The 'P' will cause the event to get maximum possible detected precise > > >level. > > >Following record: > > > $ perf

Re: [PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-05 Thread Jiri Olsa
On Mon, Oct 05, 2015 at 12:13:48PM -0600, David Ahern wrote: > On 10/5/15 12:06 PM, Jiri Olsa wrote: > >The 'P' will cause the event to get maximum possible > >detected precise level. > > > >Following record: > > $ perf record -e cycles:P ... > > > >will detect maximum precise level for 'cycles'

Re: [PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-05 Thread David Ahern
On 10/5/15 12:06 PM, Jiri Olsa wrote: The 'P' will cause the event to get maximum possible detected precise level. Following record: $ perf record -e cycles:P ... will detect maximum precise level for 'cycles' event and use it. Does the end result (which precise level is used) get saved

[PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-05 Thread Jiri Olsa
The 'P' will cause the event to get maximum possible detected precise level. Following record: $ perf record -e cycles:P ... will detect maximum precise level for 'cycles' event and use it. Link: http://lkml.kernel.org/n/tip-e33mfvu5mhuowie0l11fw...@git.kernel.org Signed-off-by: Jiri Olsa

Re: [PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-05 Thread Jiri Olsa
On Mon, Oct 05, 2015 at 12:13:48PM -0600, David Ahern wrote: > On 10/5/15 12:06 PM, Jiri Olsa wrote: > >The 'P' will cause the event to get maximum possible > >detected precise level. > > > >Following record: > > $ perf record -e cycles:P ... > > > >will detect maximum precise level for 'cycles'

Re: [PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-05 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 05, 2015 at 08:06:05PM +0200, Jiri Olsa escreveu: > The 'P' will cause the event to get maximum possible > detected precise level. > > Following record: > $ perf record -e cycles:P ... > > will detect maximum precise level for 'cycles' event > and use it. I had to do a 'make -C

[PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-05 Thread Jiri Olsa
The 'P' will cause the event to get maximum possible detected precise level. Following record: $ perf record -e cycles:P ... will detect maximum precise level for 'cycles' event and use it. Link: http://lkml.kernel.org/n/tip-e33mfvu5mhuowie0l11fw...@git.kernel.org Signed-off-by: Jiri Olsa

Re: [PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-05 Thread David Ahern
On 10/5/15 12:06 PM, Jiri Olsa wrote: The 'P' will cause the event to get maximum possible detected precise level. Following record: $ perf record -e cycles:P ... will detect maximum precise level for 'cycles' event and use it. Does the end result (which precise level is used) get saved

Re: [PATCH 5/9] perf tools: Introduce 'P' modifier

2015-10-05 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 05, 2015 at 08:38:06PM +0200, Jiri Olsa escreveu: > On Mon, Oct 05, 2015 at 12:13:48PM -0600, David Ahern wrote: > > On 10/5/15 12:06 PM, Jiri Olsa wrote: > > >The 'P' will cause the event to get maximum possible detected precise > > >level. > > >Following record: > > > $ perf