apply zhaolei updates
[ltt-control.git] / trunk / ltt-control / liblttctl / lttctl.h
1 /* libltt header file
2 *
3 * Copyright 2005-
4 * Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
5 *
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 */
18
19 #ifndef _LIBLTT_H
20 #define _LIBLTT_H
21
22 int lttctl_init(void);
23 int lttctl_destroy(void);
24 int lttctl_setup_trace(const char *name);
25 int lttctl_destroy_trace(const char *name);
26 int lttctl_alloc_trace(const char *name);
27 int lttctl_start(const char *name);
28 int lttctl_pause(const char *name);
29 int lttctl_set_trans(const char *name, const char *trans);
30 int lttctl_set_channel_enable(const char *name, const char *channel,
31 int enable);
32 int lttctl_set_channel_overwrite(const char *name, const char *channel,
33 int overwrite);
34 int lttctl_set_channel_subbuf_num(const char *name, const char *channel,
35 unsigned subbuf_num);
36 int lttctl_set_channel_subbuf_size(const char *name, const char *channel,
37 unsigned subbuf_size);
38
39 /* Helper functions */
40 int getdebugfsmntdir(char *mntdir);
41
42 #endif /*_LIBLTT_H */
This page took 0.02976 seconds and 4 git commands to generate.