projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix set session command
[lttng-tools.git]
/
libkernelctl
/
libkernelctl.c
diff --git
a/libkernelctl/libkernelctl.c
b/libkernelctl/libkernelctl.c
index f51618d1e2e638d7d3ad5591a726378d1f05a20e..1f30c77c0bb42e9502d6899557dae183362ddf36 100644
(file)
--- a/
libkernelctl/libkernelctl.c
+++ b/
libkernelctl/libkernelctl.c
@@
-4,8
+4,8
@@
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*
* 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
, or (at your option) any later version
.
+ * as published by the Free Software Foundation;
only
version 2
+ * of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-22,6
+22,11
@@
#include "kernel-ioctl.h"
#include "libkernelctl.h"
#include "kernel-ioctl.h"
#include "libkernelctl.h"
+int kernctl_add_context(int fd, struct lttng_kernel_context *ctx)
+{
+ return ioctl(fd, LTTNG_KERNEL_CONTEXT, ctx);
+}
+
int kernctl_buffer_flush(int fd)
{
return ioctl(fd, RING_BUFFER_FLUSH);
int kernctl_buffer_flush(int fd)
{
return ioctl(fd, RING_BUFFER_FLUSH);
This page took
0.042701 seconds
and
4
git commands to generate.