Re: [PATCH 1/2] perf, tools: Implement branch_type event parameter

2016-10-13 Thread Jiri Olsa
On Wed, Oct 12, 2016 at 02:02:06PM -0700, Andi Kleen wrote: > From: Andi Kleen > > It can be useful to specify branch type state per event, for example > if we want to collect both software trace points and last branch PMU > events in a single collection. Currently this

Re: [PATCH 1/2] perf, tools: Implement branch_type event parameter

2016-10-13 Thread Jiri Olsa
On Wed, Oct 12, 2016 at 02:02:06PM -0700, Andi Kleen wrote: > From: Andi Kleen > > It can be useful to specify branch type state per event, for example > if we want to collect both software trace points and last branch PMU > events in a single collection. Currently this doesn't work because >

[PATCH 1/2] perf, tools: Implement branch_type event parameter

2016-10-12 Thread Andi Kleen
From: Andi Kleen It can be useful to specify branch type state per event, for example if we want to collect both software trace points and last branch PMU events in a single collection. Currently this doesn't work because the software trace point errors out with -b. There

[PATCH 1/2] perf, tools: Implement branch_type event parameter

2016-10-12 Thread Andi Kleen
From: Andi Kleen It can be useful to specify branch type state per event, for example if we want to collect both software trace points and last branch PMU events in a single collection. Currently this doesn't work because the software trace point errors out with -b. There was already a