Bug #466
closedadd-context seems broken for UST
0%
Description
lttng create; lttng add-context -u -t procname; lttng start; lttng stop; lttng destroy
Session auto-20130306-084439 created.
Traces will be written in /home/compudj/lttng-traces/auto-20130306-084439
Welcome back Dr Tracing!
Error: procname: UST channel not found
Warning: Some command(s) went wrong
Tracing started for session auto-20130306-084439
Waiting for data availability
Tracing stopped for session auto-20130306-084439
Session auto-20130306-084439 destroyed
I would expect that add-context would apply to the current UST channel, but it fails.
Updated by David Goulet about 11 years ago
Maybe enabling an event would help here ;)
Updated by Mathieu Desnoyers about 11 years ago
compudj@thinkos:~$ lttng create
Spawning a session daemon
Session auto-20130306-113926 created.
Traces will be written in
/home/compudj/lttng-traces/auto-20130306-113926
compudj@thinkos:~$ lttng enable-event -u -a
All UST events are enabled in channel channel0
compudj@thinkos:~$ lttng add-context -u -t procname
Error: procname: UST channel not found
Warning: Some command(s) went wrong
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
Updated by Mathieu Desnoyers about 11 years ago
- Status changed from New to Resolved
Fixed by upstream commit:
commit 9f9ee9c949bc4402493bb9f73e876ff1f725b1f4
Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date: Mon Mar 25 22:35:46 2013 -0400
Fix: UST context activation
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>