diff options
author | 2009-06-10 15:55:59 +0200 | |
---|---|---|
committer | 2009-06-10 16:55:27 +0200 | |
commit | f7b7c26e01e51fe46097e11f179dc71ce7950084 (patch) | |
tree | 4a542e0c386ceebc306886604337dbe6db50c413 /arch/x86/kernel/cpu/proc.c | |
parent | perf_counter tools: Small frequency related fixes (diff) | |
download | wireguard-linux-f7b7c26e01e51fe46097e11f179dc71ce7950084.tar.xz wireguard-linux-f7b7c26e01e51fe46097e11f179dc71ce7950084.zip |
perf_counter tools: Propagate signals properly
Currently report and stat catch SIGINT (and others) without altering
their exit state. This means that things like:
while :; do perf stat ./foo ; done
Loops become hard-to-interrupt, because bash never sees perf terminate
due to interruption. Fix this.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/proc.c')
0 files changed, 0 insertions, 0 deletions