Project

General

Profile

Actions

Bug #232

closed

"No kernel consumer detected" error when starting UST trace with a call to lttng_start_tracing

Added by Raphaël Beamonte over 12 years ago. Updated about 12 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/30/2012
Due date:
% Done:

0%

Estimated time:

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

minimal.c (4.27 KB) minimal.c minimal use case Raphaël Beamonte, 04/30/2012 03:36 PM
tracepoint_ust.c (616 Bytes) tracepoint_ust.c UST tracepoint declaration Raphaël Beamonte, 04/30/2012 03:36 PM
ust_xhp.h (1.18 KB) ust_xhp.h UST tracepoint definition Raphaël Beamonte, 04/30/2012 03:36 PM
Makefile (223 Bytes) Makefile Makefile Raphaël Beamonte, 04/30/2012 03:36 PM
Actions

Also available in: Atom PDF