perf: Propagate term signal to child
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 4 Oct 2009 00:35:01 +0000 (01:35 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 4 Oct 2009 17:37:39 +0000 (19:37 +0200)
commit933da83aa17939a78d59708321c0b27d0ec8c6ce
tree623ef9032ef6321179a389147a3296f064037504
parent1ad0560e8cdb6d5b381220dc2da187691b5ce124
perf: Propagate term signal to child

If we launch the child on behalf of the user, ensure that it dies
along with ourselves when we are interrupted.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
LKML-Reference: <1254616502-4728-1-git-send-email-chris@chris-wilson.co.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c
tools/perf/builtin-stat.c