aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2019-03-14 15:49:55 -0700
committerArnaldo Carvalho de Melo <[email protected]>2019-03-19 11:56:20 -0300
commit03724b2e9c45d931eff0f304f2d3363ade65ca89 (patch)
treea5036771e339008135c20a5cbbcd9b38744f5726 /tools/perf/scripts/python/exported-sql-viewer.py
parent6f40b2a5dac4b448fe1e8d94dc4238cd95cd5e34 (diff)
perf record: Allow to limit number of reported perf.data files
When doing long term recording and waiting for some event to snapshot on, we often only care about the last minute or so. The --switch-output command line option supports rotating the perf.data file when the size exceeds a threshold. But the disk would still be filled with unnecessary old files. Add a new option to only keep a number of rotated files, so that the disk space usage can be limited. Signed-off-by: Andi Kleen <[email protected]> Acked-by: Jiri Olsa <[email protected]> LPU-Reference: [email protected] Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions