projects
/
ltt-control.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update version to 0.81
[ltt-control.git]
/
liblttctl
/
liblttctl.c
diff --git
a/liblttctl/liblttctl.c
b/liblttctl/liblttctl.c
index e9f4f180e0728e52ccf76f7902ca4a65d5c8db48..9b8a60b8300618d41bb64e3caec10ed25daf2441 100644
(file)
--- a/
liblttctl/liblttctl.c
+++ b/
liblttctl/liblttctl.c
@@
-1,23
+1,25
@@
-/* libltt
+/*
+ * liblttctl
*
*
- * Linux Trace Toolkit
Netlink
Control Library
+ * Linux Trace Toolkit Control Library
*
* Controls the ltt-control kernel module through debugfs.
*
*
* Controls the ltt-control kernel module through debugfs.
*
- * Copyright 2005 -
- * Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
- *
+ * Copyright (c) 2005-2010 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
*
- * This
program is free software; you can redistribute it and/or modify
- *
it under the terms of the GNU General Public License as published by
- *
the Free Software Foundation; either version 2 of the License, o
r
- * (at your option) any later version.
+ * This
library is free software; you can redistribute it and/or
+ *
modify it under the terms of the GNU Lesser General Public
+ *
License as published by the Free Software Foundation; eithe
r
+ *
version 2.1 of the License, or
(at your option) any later version.
*
*
- * This
program
is distributed in the hope that it will be useful,
+ * This
library
is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
- *
GNU
General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU
+ *
Lesser
General Public License for more details.
*
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef HAVE_CONFIG_H
*/
#ifdef HAVE_CONFIG_H
@@
-443,6
+445,7
@@
static int __lttctl_set_channel_enable(const char *name, const char *channel,
return ret;
}
return ret;
}
+
int lttctl_set_channel_enable(const char *name, const char *channel,
int enable)
{
int lttctl_set_channel_enable(const char *name, const char *channel,
int enable)
{
@@
-639,6
+642,7
@@
static int __lttctl_set_channel_subbuf_size(const char *name,
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's subbuf size failed\n");
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's subbuf size failed\n");
+ return ret;
}
int lttctl_set_channel_subbuf_size(const char *name, const char *channel,
}
int lttctl_set_channel_subbuf_size(const char *name, const char *channel,
@@
-706,6
+710,7
@@
static int __lttctl_set_channel_switch_timer(const char *name,
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's switch timer failed\n");
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's switch timer failed\n");
+ return ret;
}
int lttctl_set_channel_switch_timer(const char *name, const char *channel,
}
int lttctl_set_channel_switch_timer(const char *name, const char *channel,
This page took
0.024131 seconds
and
4
git commands to generate.