[lttng-dev] infinite loop invoked using lttng enable/disable-event

David Goulet dgoulet at efficios.com
Tue Jun 25 10:01:18 EDT 2013


Hmmm

Can you report that on bugs.lttng.org with the session daemon logs (-vvv
--verbose-consumer) ?

If indeed the session daemon is stuck or even "lttng", it's a pretty serious issue.

Thanks!
David

Avi Goren:
> Hi,
> I'm using lttng 2.2.0 and encountered an infinite loop:
> -------------------------------------------------------------------------
> root at ubuntu:~# lttng create
> Session auto-20130624-165047 created.
> Traces will be written in /home/avig/lttng-traces/auto-20130624-165047
> root at ubuntu:~# lttng enable-event -a -u --loglevel TRACE_ALERT
> All UST events are enabled in channel channel0 for loglevel TRACE_ALERT
> root at ubuntu:~# lttng enable-event -a -u --loglevel TRACE_CRIT
> All UST events are enabled in channel channel0 for loglevel TRACE_CRIT
> root at ubuntu:~# lttng disable-event -a -u
> All UST events are disabled in channel channel0
> root at ubuntu:~# lttng enable-event -a -u --loglevel TRACE_CRIT
> All UST events are enabled in channel channel0 for loglevel TRACE_CRIT
> root at ubuntu:~# lttng disable-event -a -u
> (infinite loop here...)
> -------------------------------------------------------------------------
> I guess it's probably due to the setting of loglevel through enable-event twice..?
> Avi
> 
> 
> This body part will be downloaded on demand.



More information about the lttng-dev mailing list