Project

General

Profile

Actions

Bug #341

closed

Daemon applications do not work with lttng

Added by Hans Nordebäck over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Target version:
Start date:
09/18/2012
Due date:
% Done:

0%

Estimated time:

Description

lttng threads are created before main via attribute(constructor). After daemonizing an application
the lttng threads "disappears" after "daemonizing" the application.
The daemon application is a common pattern and frequently used so it is important to get this working.
Solutions are discussed in the dev mail list referenced below,
and an additional suggestion to solve this issue is to use the pthread_atfork() function to do the controlled "handover" to
the child process.

reference, http://lists.lttng.org/pipermail/lttng-dev/2012-September/018652.html


Related issues 1 (0 open1 closed)

Related to LTTng-tools - Bug #340: recvmsg in ustcomm_recv_unix_sock to hangsInvalid09/18/2012

Actions
Actions

Also available in: Atom PDF