]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33a90493085dc6b8239ab259813a44a17d31fcda
tree623ef9032ef6321179a389147a3296f064037504
parentae60e09fdf93d21826a9b4c728ccd855cd1cf2fe
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