Frederik Deweerdt a7e191c376 perf stat: Introduce --repeat forever
The following patch causes 'perf stat --repeat 0' to be interpreted as
'forever', displaying the stats for every run.

We act as if a single run was asked, and reset the stats in each
iteration. In this mode SIGINT is passed to perf to be able to stop the
loop with Ctrl+C.

Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20130301180227.GA24385@ks398093.ip-192-95-24.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-03-15 14:01:26 -03:00
..
2011-02-16 13:30:48 +01:00
2012-02-13 23:17:40 -02:00
2012-12-09 08:46:07 -03:00
2013-01-30 10:40:05 -03:00
2013-03-15 14:01:26 -03:00
2013-03-15 14:01:26 -03:00
2013-01-25 12:49:28 -03:00
2012-10-02 18:36:24 -03:00
2012-08-03 10:37:21 -03:00
2013-03-13 17:00:33 -03:00
2012-05-17 12:32:54 -03:00
2012-12-11 17:22:39 -03:00