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

Raphaël Beamonte raphael.beamonte at polymtl.ca
Tue Apr 2 22:52:54 EDT 2013


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".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130402/f2378088/attachment.pgp>


More information about the lttng-dev mailing list