Project

General

Profile

Feature #584

Confusing error message when trying to enable a non existant tracepoint

Added by Yannick Brosseau over 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/04/2013
Due date:
% Done:

0%

Estimated time:

Description

The error message when you activate a non existant tracepoint could be improved. Now we get something about an invalid argument to an ioctl. For a user, its quite scary.

Here is the full output:

  1. lttng enable-event -k somerandomname

PERROR [4406/4503]: create event ioctl: Invalid argument (in kernel_create_event() at kernel.c:205)
Error: Event consoleadasd: Enable kernel event failed (channel channel0, session auto-20130630-154322)
Warning: Some command(s) went wrong

#1

Updated by Mathieu Desnoyers about 7 years ago

  • Project changed from LTTng to LTTng-modules

Also available in: Atom PDF