Actions
Bug #826
closedCannot enable-event twice even if tracing stopped.
Start date:
08/18/2014
Due date:
% Done:
100%
Estimated time:
Description
While playing with JUL I stumbled upon this limitation:
$ lttng create foo $ lttng enable-event -a -u $ lttng start [...] $ lttng stop $ lttng view [...] # # Oops can't see JUL events, let's enable JUL domain... # $ lttng enable-event -a -j Error: Events: Tracing already started (channel channel0, session foo) Error: Command error
Is this an expected behavior?
Updated by David Goulet over 10 years ago
- Status changed from New to Confirmed
- Assignee set to David Goulet
- Priority changed from Normal to High
- Target version set to 2.4
Updated by David Goulet over 10 years ago
- Status changed from Confirmed to Feedback
So this is because with "-a -j", we need to enable a new channel but a new channel CAN NOT be enabled after start. This is a limitation from the tracer.
I'm not sure how to fix that except a better error message?
Updated by Christian Babeux about 10 years ago
- Assignee changed from David Goulet to Christian Babeux
Updated by Christian Babeux about 10 years ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
Applied in changeset tools|commit:45d5d421f3464b541315509ecc2295be81b7139d.
Actions