Project

General

Profile

Actions

Feature #584

open

Confusing error message when trying to enable a non existant tracepoint

Added by Yannick Brosseau over 11 years ago. Updated over 11 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

Actions #1

Updated by Mathieu Desnoyers over 11 years ago

  • Project changed from LTTng to LTTng-modules
Actions

Also available in: Atom PDF