Re: [PATCH] perf evsel: Enable ignore_missing_thread for pid option

2017-12-07 Thread zhangmengting
Hi Jiri, Thanks for your review! I've sent a patch V2 to address these issues. On 2017/12/6 20:59, Jiri Olsa wrote: On Tue, Dec 05, 2017 at 05:03:33PM +0800, Mengting Zhang wrote: While monitoring a multithread process with pid option, perf sometimes may return sys_perf_event_open failure wi

Re: [PATCH] perf evsel: Enable ignore_missing_thread for pid option

2017-12-06 Thread Jiri Olsa
On Tue, Dec 05, 2017 at 05:03:33PM +0800, Mengting Zhang wrote: > While monitoring a multithread process with pid option, perf sometimes > may return sys_perf_event_open failure with 3(No such process) if any > of the process's threads die before we open the event. However, we want > perf continue

[PATCH] perf evsel: Enable ignore_missing_thread for pid option

2017-12-05 Thread Mengting Zhang
While monitoring a multithread process with pid option, perf sometimes may return sys_perf_event_open failure with 3(No such process) if any of the process's threads die before we open the event. However, we want perf continue monitoring the remaining threads and do not exit with error. Here, the