Re: [PATCH] perf stat: Ignore error thread when enabling system-wide --per-thread

From: Jin, Yao
Date: Tue Jan 16 2018 - 09:10:11 EST




On 1/16/2018 9:17 PM, Jiri Olsa wrote:
On Tue, Jan 16, 2018 at 09:06:09PM +0800, Jin, Yao wrote:
Just tested. But looks it's not OK for '--per-thread' case.

yea, I haven't tested much.. might need soem tweaking,
but my point was that it could be doable on one place
instead of introducing another if possible

jirka


Yes, I understand. It'd better we can put the code to more common places.

Actually I used the similar patch as yours at first. While I found it didn't work for the case of system-wide '--per-thread' then I developed current one.

Thanks
Jin Yao