Bug #232
closed"No kernel consumer detected" error when starting UST trace with a call to lttng_start_tracing
0%
Description
When starting an UST trace in a small C application, when we call 'lttng_start_tracing' the error "No kernel consumer detected" is thrown (minimal.c:145).
This problem disappear if, during the lttng-sessiond run, a kernel trace was made previously.
The files that are joined to this bug report allows to reproduce the error.
It seems that the bug is located between commits b883c01 and e371dbd.
Files
Updated by Raphaël Beamonte over 12 years ago
The error disappear when the compilation is made with -O1 instead of -O2. It also works with -Os and -O0.
Another way to make it disapear is the add the following loop at first in the main:
volatile int w = 0; while (w < 1) { w++; }
Updated by Raphaël Beamonte over 12 years ago
Is there any news about this bug ?
Updated by David Goulet about 12 years ago
- Status changed from New to Feedback
This is fixed on my side with the latest lttng-tools and UST.
If you still have this problem, please send the session daemon logs with "-vvv --verbose-consumer" and the UST debug output also.
Thanks
Updated by David Goulet about 12 years ago
- Status changed from Feedback to Invalid