Project

General

Profile

Actions

Bug #617

closed

Error message for --max-size of lttng record snapshot is not helpful

Added by Simon Marchi over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Target version:
Start date:
08/13/2013
Due date:
% Done:

100%

Estimated time:
9001.00 h

Description

$ lttng snapshot record -m 16384
Error: Snapshot record failed

The real reason is apparently that the size is too small, but that is not clear from the error message. An indication of what the minimum size is would be useful. Displaying it in a symbolic way ("Minimum size is NR_CPU * SUBBUF_SIZE * WHATEVER") would be nice, but displaying the minimum value for this particular session would be nicer ("Minimum size is 123456 bytes").

Actions

Also available in: Atom PDF