2 * Copyright (C) 2011 - Julien Desfossez <julien.desfossez@polymtl.ca>
3 * David Goulet <david.goulet@polymtl.ca>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #ifndef _LTTNG_KCONSUMERD_H
21 #define _LTTNG_KCONSUMERD_H
23 #include "lttng-share.h"
25 /* Kernel consumer path */
26 #define KCONSUMERD_PATH LTTNG_RUNDIR "/kconsumerd"
27 #define KCONSUMERD_CMD_SOCK_PATH KCONSUMERD_PATH "/command"
28 #define KCONSUMERD_ERR_SOCK_PATH KCONSUMERD_PATH "/error"
30 /* Commands for kconsumerd */
31 enum kconsumerd_command
{
33 UPDATE_STREAM
, /* pause, delete, active depending on fd state */
34 STOP
, /* inform the kconsumerd to quit when all fd has hang up */
37 /* State of each fd in consumerd */
38 enum kconsumerd_fd_state
{
44 #endif /* _LTTNG_KCONSUMERD_H */
This page took 0.03121 seconds and 5 git commands to generate.