projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store the relay protocol version in the consumer_output
[lttng-tools.git]
/
src
/
common
/
kernel-ctl
/
kernel-ctl.c
diff --git
a/src/common/kernel-ctl/kernel-ctl.c
b/src/common/kernel-ctl/kernel-ctl.c
index 82d766e1c1e70b53f0b0e3ec354bd7ab93da621b..dd228773bc655eb985e88a6b2fe20e8c87221115 100644
(file)
--- a/
src/common/kernel-ctl/kernel-ctl.c
+++ b/
src/common/kernel-ctl/kernel-ctl.c
@@
-538,3
+538,9
@@
int kernctl_get_sequence_number(int fd, uint64_t *seq)
{
return ioctl(fd, LTTNG_RING_BUFFER_GET_SEQ_NUM, seq);
}
{
return ioctl(fd, LTTNG_RING_BUFFER_GET_SEQ_NUM, seq);
}
+
+/* Returns the stream instance id. */
+int kernctl_get_instance_id(int fd, uint64_t *id)
+{
+ return ioctl(fd, LTTNG_RING_BUFFER_INSTANCE_ID, id);
+}
This page took
0.022671 seconds
and
4
git commands to generate.