diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-12-06 18:13:38 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-12-06 18:13:38 +0100 |
commit | 18483b81ee7e70ee68d4b18be618be5cfcc0b290 (patch) | |
tree | c553f0170c99e2c421f141328bf21e3a310ac174 /fs/ceph/inode.c | |
parent | perf header: Don't assume there's no attr info if no sample ids is provided (diff) | |
download | linux-18483b81ee7e70ee68d4b18be618be5cfcc0b290.tar.xz linux-18483b81ee7e70ee68d4b18be618be5cfcc0b290.zip |
perf record: Fix eternal wait for stillborn child
When execvp fails to find the specified command on the path we won't get
SIGCHLD, so send a SIGUSR1 and exit right away.
Current situation would require a SIGINT performed by the user and would
produce meaningless summary.
Now:
[acme@emilia linux]$ ./foo
-bash: ./foo: No such file or directory
[acme@emilia linux]$ perf record ./foo
./foo: No such file or directory
[acme@emilia linux]$
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'fs/ceph/inode.c')
0 files changed, 0 insertions, 0 deletions