Project

General

Profile

Actions

Bug #466

closed

add-context seems broken for UST

Added by Mathieu Desnoyers about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/06/2013
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by David Goulet about 11 years ago

Maybe enabling an event would help here ;)

Actions #2

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

Actions #3

Updated by Mathieu Desnoyers about 11 years ago

  • Status changed from New to Resolved

Fixed by upstream commit:

commit 9f9ee9c949bc4402493bb9f73e876ff1f725b1f4
Author: Mathieu Desnoyers <>
Date: Mon Mar 25 22:35:46 2013 -0400

Fix: UST context activation
Signed-off-by: Mathieu Desnoyers &lt;&gt;
Signed-off-by: David Goulet &lt;&gt;
Actions

Also available in: Atom PDF