Messages in this thread | | | Subject | Re: [PATCH v11 3/3]: perf record: extend trace writing to multi AIO | From | Alexey Budankov <> | Date | Mon, 8 Oct 2018 18:21:48 +0300 |
| |
Hi,
On 08.10.2018 15:45, Jiri Olsa wrote: <SNIP> > > 'perf record --aio-cblocks=N' could imply '--aio', > > I'd like to have simple/intuitive way to enable that, > without studing the meaning of the cblocks argument > > # perf record --aio ... > > means that I'm storing data via async writes, > and using some reasonable default for cblocks
Semantically, --aio is equal to --aio-cblocks=default, as you said. So, options duplication could be avoided by having some parsing callback using OPT_CALLBACK().
> > and later on we'd add 'perf record --threads' > allowing threads based writers ;-)
Oh, I see. Cool.
Thanks, Alexey
> > jirka >
| |