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

2013-05-02 Thread Christian Babeux
Just a heads up, this patch depends on another one posted by Simon earlier: [RFC PATCH lttng-tools] Unit tests: don't rebuild units under test Reviewed-by: Christian Babeux christian.bab...@efficios.com On Thu, May 2, 2013 at 10:47 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:

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

2013-05-02 Thread David Goulet
Merged. I've added some minor fixes like a missing include and documentation about +k,+M,+G in the help and man page. Thanks! Simon Marchi: --subbuf-size accepts sizes such as: - 123 - 123 - 123k - 123 * 1024 - 123M - 123 * 1024^2 - 123G - 123 * 1024^3 It uses the new

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

2013-04-12 Thread Simon Marchi
--subbuf-size accepts sizes such as: - 123 - 123 - 123k - 123 * 1024 - 123M - 123 * 1024^2 - 123G - 123 * 1024^3 It uses the new parse_size_suffix function, which could probably be used at other places, such as tracefile size. Unit tests are included. Signed-off-by: Simon Marchi