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

2019-03-11 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 11, 2019 at 03:12:33PM +0800, Jiwei Sun escreveu: > 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. > > Testing it: > > # ./p

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

2019-03-11 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. Testing it: # ./perf record -a --max-size 100M Couldn't synthesize bpf events. WARNING: T