2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
3 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 * SPDX-License-Identifier: GPL-2.0-only
11 #include "lttng-sessiond.h"
13 /* Notify parents that we are ready for cmd and health check */
14 void sessiond_signal_parents(void)
17 * Notify parent pid that we are ready to accept command
18 * for client side. This ppid is the one from the
19 * external process that spawned us.
21 if (config
.sig_parent
) {
26 * Notify the parent of the fork() process that we are
29 if (config
.daemonize
|| config
.background
) {
30 kill(child_ppid
, SIGUSR1
);
This page took 0.030282 seconds and 4 git commands to generate.