| 1 | /* |
| 2 | * Copyright (C) 2011 - Julien Desfossez <julien.desfossez@polymtl.ca> |
| 3 | * David Goulet <david.goulet@polymtl.ca> |
| 4 | * |
| 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; only verion 2 |
| 8 | * of the License. |
| 9 | * |
| 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. |
| 14 | * |
| 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. |
| 18 | */ |
| 19 | |
| 20 | #ifndef _LTTNG_CONSUMERD_H |
| 21 | #define _LTTNG_CONSUMERD_H |
| 22 | |
| 23 | #define CONSUMERD_RUNDIR "%s" |
| 24 | |
| 25 | /* Kernel consumer path */ |
| 26 | #define KCONSUMERD_PATH CONSUMERD_RUNDIR "/kconsumerd" |
| 27 | #define KCONSUMERD_CMD_SOCK_PATH KCONSUMERD_PATH "/command" |
| 28 | #define KCONSUMERD_ERR_SOCK_PATH KCONSUMERD_PATH "/error" |
| 29 | |
| 30 | /* UST 64-bit consumer path */ |
| 31 | #define USTCONSUMERD64_PATH CONSUMERD_RUNDIR "/ustconsumerd64" |
| 32 | #define USTCONSUMERD64_CMD_SOCK_PATH USTCONSUMERD64_PATH "/command" |
| 33 | #define USTCONSUMERD64_ERR_SOCK_PATH USTCONSUMERD64_PATH "/error" |
| 34 | |
| 35 | /* UST 32-bit consumer path */ |
| 36 | #define USTCONSUMERD32_PATH CONSUMERD_RUNDIR "/ustconsumerd32" |
| 37 | #define USTCONSUMERD32_CMD_SOCK_PATH USTCONSUMERD32_PATH "/command" |
| 38 | #define USTCONSUMERD32_ERR_SOCK_PATH USTCONSUMERD32_PATH "/error" |
| 39 | |
| 40 | #endif /* _LTTNG_CONSUMERD_H */ |