lkml.org 
[lkml]   [2017]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/7] perf record: Add switch-output size option argument
Em Tue, Jan 03, 2017 at 08:33:35AM -0700, David Ahern escreveu:
> 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?

Well, I think he wants to use the "switch-output" semantic, which will
go on "slicing" the output into multiple files according to the
specified criteria, be it the existing signal one or a file size.

"max-file-size" looks like a hard limit, no hint about producing
multiple files.

- Arnaldo

\
 
 \ /
  Last update: 2017-01-03 17:22    [W:0.084 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site