Re: [PATCH 1/1] perf util: Do not reuse target->per_thread flag

2018-01-22 Thread Jin, Yao
Hi Mathieu, Sorry, I just see this patch today. I have tested this patch and it works. Another idea from me is it doesn't need to add a new target->all_threads flag. We just use target->per-thread && target->system_wide as a condition to check for all per-thread case. I just think for you

[PATCH 1/1] perf util: Do not reuse target->per_thread flag

2018-01-12 Thread Mathieu Poirier
Commit ("73c0ca1eee3d perf thread_map: Enumerate all threads from /proc") is using the target->per_thread flag to specify that all threads in a system should be taken into account. That is then used in function thread_map__new_str() where all threads are added to evlist->threads. Variable target-