Commit | Line | Data |
---|---|---|
fac6795d DG |
1 | /* Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca> |
2 | * | |
3 | * This program is free software; you can redistribute it and/or | |
4 | * modify it under the terms of the GNU General Public License | |
5 | * as published by the Free Software Foundation; either version 2 | |
6 | * of the License, or (at your option) any later version. | |
7 | * | |
8 | * This program is distributed in the hope that it will be useful, | |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 | * GNU General Public License for more details. | |
12 | * | |
13 | * You should have received a copy of the GNU General Public License | |
14 | * along with this program; if not, write to the Free Software | |
15 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
16 | * | |
17 | */ | |
18 | ||
19 | #ifndef _LIBLTTNGCTL_H | |
20 | #define _LIBLTTNGCTL_H | |
21 | ||
22 | #define DEFAULT_TRACING_GROUP "tracing" | |
23 | ||
24 | /* | |
25 | * From libuuid | |
26 | */ | |
27 | #define UUID_STR_LEN 37 | |
28 | ||
29 | extern int lttng_create_session(const char *name, char *session_id); | |
30 | extern int lttng_connect_sessiond(void); | |
31 | extern int lttng_set_tracing_group(const char *name); | |
32 | extern int lttng_check_session_daemon(void); | |
33 | extern const char *lttng_get_readable_code(int code); | |
34 | extern size_t lttng_ust_list_apps(pid_t **pids); | |
35 | ||
36 | #endif /* _LIBLTTNGCTL_H */ |