aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorFrederik Deweerdt <[email protected]>2013-03-01 13:02:27 -0500
committerArnaldo Carvalho de Melo <[email protected]>2013-03-15 14:01:26 -0300
commita7e191c376fad084d9f3c7ac89a1f7c47462ebc8 (patch)
tree15f13ba7e2bc804f6993faaac9c72a894fa0135d /tools/perf/scripts/python/sctop.py
parentd723a55096b81a13c319485f01994e0a539efcf9 (diff)
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 <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions