Re: [PATCH v4 00/12] perf stat: Enable '--per-thread' on all thread

From: Jin, Yao
Date: Thu Nov 30 2017 - 19:24:44 EST




On 11/30/2017 6:05 PM, Jiri Olsa wrote:
On Thu, Nov 30, 2017 at 07:56:30PM +0800, Jin Yao wrote:
v4:
---
Update according to Jiri's comments. The major modification is:

Move struct perf_stat_config::*stats|stats_num to
'perf stat: Allocate shadow stats buffer for threads'.

I also move the code of updating/printing per-thread stats
from 'perf util: Update and print per-thread shadow stats'
and 'perf stat: Allocate shadow stats buffer for threads'
to a new patch 'perf stat: Update or print per-thread stats'.
That should be more clear for patch reading.

Impacted patch:
---------------
perf util: Define a structure for runtime shadow stats
perf util: Update and print per-thread shadow stats
perf stat: Allocate shadow stats buffer for threads
perf stat: Update or print per-thread stats
perf stat: Resort '--per-thread' result


Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

thanks,
jirka


Thanks so much for reviewing the patch!

Thanks
Jin Yao