projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add calibrate command
[lttng-tools.git]
/
ltt-sessiond
/
kernel-ctl.c
diff --git
a/ltt-sessiond/kernel-ctl.c
b/ltt-sessiond/kernel-ctl.c
index 27210708e64f1f791b9322d78e01fe7d3258d5e9..3dd146dd4b9792fe6754ef1136a49aef6b111c53 100644
(file)
--- a/
ltt-sessiond/kernel-ctl.c
+++ b/
ltt-sessiond/kernel-ctl.c
@@
-408,6
+408,23
@@
void kernel_wait_quiescent(int fd)
}
}
}
}
+/*
+ * kernel_calibrate
+ */
+int kernel_calibrate(int fd, struct lttng_kernel_calibrate *calibrate)
+{
+ int ret;
+
+ ret = kernctl_calibrate(fd, calibrate);
+ if (ret < 0) {
+ perror("calibrate ioctl");
+ return -1;
+ }
+
+ return 0;
+}
+
+
/*
* kernel_metadata_flush_buffer
*
/*
* kernel_metadata_flush_buffer
*
This page took
0.028312 seconds
and
5
git commands to generate.