Re: [PATCH] perf stat: avoid sending SIGTERM to random processes

2013-06-18 Thread Stephane Eranian
Any comment on this patch Arnaldo? On Tue, Jun 4, 2013 at 5:44 PM, Stephane Eranian wrote: > > This patch fixes a problem with perf stat whereby on termination > it may send a SIGTERM signal to random processes on systems > with high PID recycling. I got some actual bug reports on this. > > Ther

[PATCH] perf stat: avoid sending SIGTERM to random processes

2013-06-04 Thread Stephane Eranian
This patch fixes a problem with perf stat whereby on termination it may send a SIGTERM signal to random processes on systems with high PID recycling. I got some actual bug reports on this. There is race between the SIGCHLD and sig_atexit() handlers. This patch addresses this problem by clearing c