[PATCH] perf record: Fix zomible status of child process

2015-05-13 Thread desire
If the child process exited between the following code, the child process will keep zomible status and perf process will keep "poll" forever if (done || draining) break; ---//child process exit, done to 1 err = perf_evlist__poll(rec->evlist,-1); so, change timeout to 1 second. --- tools/per

[PATCH] perf record: Fix zomible status of child process

2015-05-13 Thread desire
If the child process exited between the following code, the child process will keep zomible status and perf process will keep "poll" forever if (done || draining) break; ---//child process exit, done to 1 err = perf_evlist__poll(rec->evlist,-1); so, change timeout to 1 second. --- tools/per