4 * Linux Trace Toolkit Control Library Header File
6 * Controls the ltt-control kernel module through debugfs.
8 * Copyright (c) 2005-2010 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
28 int lttctl_init(void);
29 int lttctl_destroy(void);
30 int lttctl_setup_trace(const char *name
);
31 int lttctl_destroy_trace(const char *name
);
32 int lttctl_alloc_trace(const char *name
);
33 int lttctl_start(const char *name
);
34 int lttctl_pause(const char *name
);
35 int lttctl_set_trans(const char *name
, const char *trans
);
36 int lttctl_set_channel_enable(const char *name
, const char *channel
,
38 int lttctl_set_channel_overwrite(const char *name
, const char *channel
,
40 int lttctl_set_channel_subbuf_num(const char *name
, const char *channel
,
42 int lttctl_set_channel_subbuf_size(const char *name
, const char *channel
,
43 unsigned subbuf_size
);
44 int lttctl_set_channel_switch_timer(const char *name
, const char *channel
,
45 unsigned switch_timer
);
47 /* Helper functions */
48 int getdebugfsmntdir(char *mntdir
);
This page took 0.031202 seconds and 4 git commands to generate.