From: Peter Zijlstra Date: Wed, 10 Jun 2009 13:55:59 +0000 (+0200) Subject: perf_counter tools: Propagate signals properly X-Git-Tag: v2.6.31-rc1~383^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7b7c26e01e51fe46097e11f179dc71ce7950084;p=pandora-kernel.git 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 Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed