lkml.org 
[lkml]   [2018]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v11 3/3]: perf record: extend trace writing to multi AIO
From
Date
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
>

\
 
 \ /
  Last update: 2018-10-08 17:22    [W:0.064 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site