Project

General

Profile

Bug #617

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

Added by Simon Marchi over 6 years ago. Updated over 6 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").

#1

Updated by David Goulet over 6 years ago

  • Status changed from New to Confirmed
  • Assignee deleted (David Goulet)
  • Target version set to 2.3

Over 9000 hours!!!

#2

Updated by Mathieu Desnoyers over 6 years ago

  • Priority changed from Normal to Low
#3

Updated by David Goulet over 6 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF