Project

General

Profile

Actions

Bug #228

closed

Subbuffer sizes and powers of 2

Added by Matthew Khouzam over 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
04/26/2012
Due date:
% Done:

0%

Estimated time:

Description

A subbuffer should be able to take any value, it is unreasonable to ask a user in userland to memorize the powers of 2 greater than 16.

A good compromise would be to cause lttng tool to create subbuffers that are rounded up to the nearest power of 2. I can personnaly garanty that a user asking for 1000000 bytes per subbuffer will not be outraged if the buffer is in reality 1024^2.

Another useful thing would be to have human friendly input like 4k 16k 1m 2g...


Files


Related issues 1 (0 open1 closed)

Related to LTTng-tools - Bug #235: lttng_enable_channel with too little subbuffers size returns an error that isn't explicitResolved05/08/2012

Actions
Actions

Also available in: Atom PDF