Re: [PATCH V8 11/25] perf auxtrace: Fix period type 'i' not working

2015-08-06 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2015 at 07:33:46PM +0300, Adrian Hunter escreveu: > PERF_ITRACE_PERIOD_INSTRUCTIONS is zero so it > got overwritten by the default period type. > Fix by checking if the period type was set > rather than if the value was zero when applying > the default. Applied > Signed-off-by: A

[PATCH V8 11/25] perf auxtrace: Fix period type 'i' not working

2015-07-17 Thread Adrian Hunter
PERF_ITRACE_PERIOD_INSTRUCTIONS is zero so it got overwritten by the default period type. Fix by checking if the period type was set rather than if the value was zero when applying the default. Signed-off-by: Adrian Hunter --- tools/perf/util/auxtrace.c | 6 +- 1 file changed, 5 insertions(+