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

2017-12-13 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 13, 2017 at 03:01:53PM +0800, Mengting Zhang escreveu: > 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

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

2017-12-13 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 13, 2017 at 03:01:53PM +0800, Mengting Zhang escreveu: > 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

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

2017-12-13 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 13, 2017 at 03:01:53PM +0800, Mengting Zhang escreveu: > 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

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

2017-12-13 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 13, 2017 at 03:01:53PM +0800, Mengting Zhang escreveu: > 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

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

2017-12-13 Thread Jiri Olsa
On Wed, Dec 13, 2017 at 03:01:53PM +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

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

2017-12-13 Thread Jiri Olsa
On Wed, Dec 13, 2017 at 03:01:53PM +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 v3] perf evsel: Enable ignore_missing_thread for pid option

2017-12-12 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

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

2017-12-12 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