2 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; only version 2
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 #ifndef _LTT_SESSIOND_H
20 #define _LTT_SESSIOND_H
24 #include <urcu/wfqueue.h>
26 #include <common/sessiond-comm/sessiond-comm.h>
31 const char *module_proc_lttng
= "/proc/lttng";
33 extern const char default_home_dir
[],
34 default_tracing_group
[],
35 default_ust_sock_dir
[],
36 default_global_apps_pipe
[];
39 * This contains extra data needed for processing a command received by the
40 * session daemon from the lttng client.
44 unsigned int lttng_msg_size
;
46 struct ltt_session
*session
;
47 struct lttcomm_lttng_msg
*llm
;
48 struct lttcomm_session_msg
*lsm
;
53 struct ust_register_msg reg_msg
;
54 struct cds_wfq_node node
;
58 * Queue used to enqueue UST registration request (ust_commant) and protected
59 * by a futex with a scheme N wakers / 1 waiters. See futex.c/.h
61 struct ust_cmd_queue
{
63 struct cds_wfq_queue queue
;
66 #endif /* _LTT_SESSIOND_H */
This page took 0.030067 seconds and 4 git commands to generate.