apply zhaolei updates
[ltt-control.git] / trunk / ltt-control / liblttctl / lttctl.h
CommitLineData
2727692a 1/* libltt header file
2 *
3 * Copyright 2005-
10e8a188 4 * Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
2727692a 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
10e8a188 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2727692a 15 * GNU General Public License for more details.
16 *
2727692a 17 */
18
19#ifndef _LIBLTT_H
20#define _LIBLTT_H
21
c928825d 22int lttctl_init(void);
23int lttctl_destroy(void);
24int lttctl_setup_trace(const char *name);
25int lttctl_destroy_trace(const char *name);
26int lttctl_alloc_trace(const char *name);
27int lttctl_start(const char *name);
28int lttctl_pause(const char *name);
29int lttctl_set_trans(const char *name, const char *trans);
30int lttctl_set_channel_enable(const char *name, const char *channel,
31 int enable);
32int lttctl_set_channel_overwrite(const char *name, const char *channel,
33 int overwrite);
34int lttctl_set_channel_subbuf_num(const char *name, const char *channel,
35 unsigned subbuf_num);
36int lttctl_set_channel_subbuf_size(const char *name, const char *channel,
37 unsigned subbuf_size);
38
354b34fd 39/* Helper functions */
40int getdebugfsmntdir(char *mntdir);
41
c928825d 42#endif /*_LIBLTT_H */
This page took 0.023407 seconds and 4 git commands to generate.