Re: [PATCH] perf record: Add support for limit perf output file size

2019-02-21 Thread Jiwei Sun
Hi Jirka, On 02/21/2019 05:56 PM, Jiri Olsa wrote: > On Thu, Feb 21, 2019 at 02:44:19PM +0800, Jiwei Sun wrote: >> The patch adds a new option to limit the output file size, then based >> on it, we can create a wrapper of the perf command that uses the option >> to avoid exhausting the disk space

Re: [PATCH] perf record: Add support for limit perf output file size

2019-02-21 Thread Jiri Olsa
On Thu, Feb 21, 2019 at 02:44:19PM +0800, Jiwei Sun wrote: > The patch adds a new option to limit the output file size, then based > on it, we can create a wrapper of the perf command that uses the option > to avoid exhausting the disk space by the unconscious user. > > Signed-off-by: Jiwei Sun >

[PATCH] perf record: Add support for limit perf output file size

2019-02-20 Thread Jiwei Sun
The patch adds a new option to limit the output file size, then based on it, we can create a wrapper of the perf command that uses the option to avoid exhausting the disk space by the unconscious user. Signed-off-by: Jiwei Sun --- tools/perf/builtin-record.c | 39