Confusing error message when trying to enable a non existant tracepoint
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:
- 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