Add kernel trace data structure init functions
[lttng-tools.git] / lttng / lttng.h
CommitLineData
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#ifndef _LTTNG_H
19#define _LTTNG_H
20
21/* Function prototypes */
22int parse_args(int argc, const char **argv);
23void clean_exit(int code);
24
25/* Command line options */
26extern int opt_trace_kernel;
27extern int opt_verbose;
28extern int opt_quiet;
29extern char *opt_tracing_group;
e8be5f4f 30extern char *opt_session_uuid;
5b8719f5 31extern char *opt_sessiond_path;
96243366 32extern char *opt_session_name;
894be886
DG
33extern char *opt_event_list;
34extern char *opt_trace_name;
35extern int opt_destroy_trace;
36extern int opt_enable_event;
37extern int opt_disable_event;
96243366
DG
38extern int opt_destroy_session;
39extern int opt_create_session;
20fe2104 40extern int opt_kern_create_channel;
fac6795d 41extern int opt_list_apps;
5b8719f5 42extern int opt_no_sessiond;
57167058 43extern int opt_list_session;
1657e9bb 44extern int opt_list_traces;
ad874cce
DG
45extern int opt_create_trace;
46extern int opt_start_trace;
47extern int opt_stop_trace;
48extern pid_t opt_trace_pid;
fac6795d
DG
49
50#endif /* _LTTNG_H */
This page took 0.024595 seconds and 4 git commands to generate.