Project

General

Profile

Actions

Bug #261

closed
DS DG

lttng_enable_event makes lttng freeze when then event is of type LTTNG_EVENT_ALL and with an unexisting name

Bug #261: lttng_enable_event makes lttng freeze when then event is of type LTTNG_EVENT_ALL and with an unexisting name

Added by Danny Serres over 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
06/07/2012
Due date:
% Done:

0%

Estimated time:

Description

if an event of type LTTNG_EVENT_ALL (-1) has a random name, such as "blabla", and lttng_enable_event is called with that event, it returns no error but it should.

As a result of this, for a session named "ses", lttng list ses will give: === Domain: Kernel ===

Channels:
-------------
- channel0: [enabled]

Attributes:
overwrite mode: 0
subbufers size: 262144
number of subbufers: 4
switch timer interval: 0
read timer interval: 200
output: splice()
Events:
(loglevel: TRACE_EMERG (0)) (type: tracepoint) [disabled]

and then destroy all sessions.

If lttng list ses is not called, but instead the session is started, then it is goodbye lttng, see you next reboot.

YB Updated by Yannick Brosseau over 13 years ago Actions #1

  • Project changed from LTTng to LTTng-tools

DG Updated by David Goulet over 13 years ago Actions #2

  • Status changed from New to Confirmed
  • Assignee set to David Goulet
  • Priority changed from Normal to High
  • Target version set to 2.0.x stable

DG Updated by David Goulet about 13 years ago Actions #3

  • Status changed from Confirmed to Resolved

Fixed by commit 95a8266405f61b6927f8cef13b1fdfa0b5584274

Actions

Also available in: PDF Atom