]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Make stat/record print fatal signals of the target program
authorAndi Kleen <ak@linux.intel.com>
Thu, 15 Sep 2011 21:31:40 +0000 (14:31 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Sep 2011 20:09:46 +0000 (17:09 -0300)
commit12d123fd5d8b2c8f0422f8411949254919382713
tree8eaa17e37ceb8398859e944385cac328ffcaa1c7
parentb5c46011f2bbf4a96453b3161f3b75fbae6e368e
perf tools: Make stat/record print fatal signals of the target program

When a program crashes under perf there is no message about it, unlike
when running it from bash. This can be confusing and lead to wrong
actions during debugging.

Print fatal signals in perf stat/record.

Thanks to Furat Afram for finding the problem originally

Link: http://lkml.kernel.org/r/1316122302-24306-1-git-send-email-andi@firstfloor.org
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-stat.c