Re: [PATCH 6/7] perf record: Add switch-output size option argument

From: David Ahern
Date: Tue Jan 03 2017 - 10:33:59 EST


On 1/3/17 1:19 AM, Jiri Olsa wrote:
> It's now possible to specify the threshold size for
> perf.data like:
>
> $ perf record --switch-output=2G ...
>
> Once it's reached, the current data are dumped in to the
> perf.data.<timestamp> file and session does on.

How about something like max-file-size instead of switch-output?