[lttng-dev] [PATCH lttng-tools] lttng cli: Accept human readable sizes for --subbuf-size

Simon Marchi simon.marchi at polymtl.ca
Tue Apr 2 23:38:29 EDT 2013


On 2 April 2013 22:52, Raphaël Beamonte <raphael.beamonte at polymtl.ca> wrote:
> On 2013-04-02 16:45, Simon Marchi wrote:
>> --subbuf-size accepts sizes such as:
>>
>> - 123 -> 123
>> - 123k or 123K -> 123 * 1024
>> - 123m or 123M -> 123 * 1024 * 1024
>> - 123g or 123G -> 123 * 1024 * 1024 * 1024
>
> I don't really like using non-SI prefixes such as "K", "m" or "g" (well,
> in fact "m" is an SI prefix but for milli, not mega).
> I think that would be better to only use "k", "M" and "G".

Agreed. I'll do that.

Simon



More information about the lttng-dev mailing list