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

David Goulet dgoulet at efficios.com
Tue Jun 25 15:26:50 EDT 2013


I just pushed a fix for that issue!

https://bugs.lttng.org/issues/575

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