Re: [PATCH v2] perf util: Use target->per_thread and target->system_wide flags

2018-01-23 Thread Jiri Olsa
On Wed, Jan 24, 2018 at 05:19:36PM +0800, Jin Yao wrote: > Mathieu Poirier reports issue in commit ("73c0ca1eee3d perf thread_map: > Enumerate all threads from /proc") that it has negative impact on > 'perf record --per-thread'. It has the effect of creating a kernel event > for each thread in the

Re: [PATCH v2] perf util: Use target->per_thread and target->system_wide flags

2018-01-23 Thread Jiri Olsa
On Wed, Jan 24, 2018 at 05:19:36PM +0800, Jin Yao wrote: > Mathieu Poirier reports issue in commit ("73c0ca1eee3d perf thread_map: > Enumerate all threads from /proc") that it has negative impact on > 'perf record --per-thread'. It has the effect of creating a kernel event > for each thread in the

[PATCH v2] perf util: Use target->per_thread and target->system_wide flags

2018-01-23 Thread Jin Yao
Mathieu Poirier reports issue in commit ("73c0ca1eee3d perf thread_map: Enumerate all threads from /proc") that it has negative impact on 'perf record --per-thread'. It has the effect of creating a kernel event for each thread in the system for 'perf record --per-thread'. Mathieu Poirier's patch

[PATCH v2] perf util: Use target->per_thread and target->system_wide flags

2018-01-23 Thread Jin Yao
Mathieu Poirier reports issue in commit ("73c0ca1eee3d perf thread_map: Enumerate all threads from /proc") that it has negative impact on 'perf record --per-thread'. It has the effect of creating a kernel event for each thread in the system for 'perf record --per-thread'. Mathieu Poirier's patch