linux/Documentation/perf_counter
Ingo Molnar 58d7e993b1 perf stat: handle Ctrl-C
Before this change, if a long-running perf stat workload was Ctrl-C-ed,
the utility exited without displaying statistics.

After the change, the Ctrl-C gets propagated into the workload (and
causes its early exit there), but perf stat itself will still continue
to run and will display counter results.

This is useful to run open-ended workloads, let them run for
a while, then Ctrl-C them to get the stats.

[ Impact: extend perf stat with new functionality ]

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-05-15 12:09:54 +02:00
..
Documentation perf_counter tools: add 'perf help' 2009-04-20 17:36:49 +02:00
util perf_counter tools: move helper library to util/* 2009-04-27 09:05:08 +02:00
.gitignore perf_counter tools: add in basic glue from Git 2009-04-20 17:36:48 +02:00
builtin-help.c perf_counter tools: move helper library to util/* 2009-04-27 09:05:08 +02:00
builtin-record.c perf record: Allow specifying a pid to record 2009-05-15 09:35:24 +02:00
builtin-stat.c perf stat: handle Ctrl-C 2009-05-15 12:09:54 +02:00
builtin-top.c perf_counter tools: fix buffer overwrite problem for perf top command 2009-05-10 08:21:18 +02:00
builtin.h perf_counter tools: move helper library to util/* 2009-04-27 09:05:08 +02:00
command-list.txt perf_counter tools: add 'perf record' command 2009-04-20 17:36:49 +02:00
design.txt perf_counter: documentation update 2009-05-01 13:23:45 +02:00
Makefile perfcounter tools: move common defines ... to local header file 2009-05-01 18:38:00 +02:00
perf-report.cc perf_counter: tools: update the tools to support process and inherited counters 2009-05-05 20:18:33 +02:00
perf.c perf_counter tools: move helper library to util/* 2009-04-27 09:05:08 +02:00
perf.h perfcounter tools: get the syscall number from arch/*/include/asm/unistd.h 2009-05-01 18:50:29 +02:00