X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fkernel-ctl%2Fkernel-ctl.h;h=badf609a074d4d7fb9d20a256623208cddf1d0e8;hb=309167d2a6f59d0c8cbf64eb23ba912cdea76a34;hp=18712d96e223d4927abc63effd5a5f8d108f2431;hpb=00e2e675d54dc726a7c8f8887c889cc8ef022003;p=lttng-tools.git diff --git a/src/common/kernel-ctl/kernel-ctl.h b/src/common/kernel-ctl/kernel-ctl.h index 18712d96e..badf609a0 100644 --- a/src/common/kernel-ctl/kernel-ctl.h +++ b/src/common/kernel-ctl/kernel-ctl.h @@ -21,6 +21,7 @@ #include #include +#include int kernctl_create_session(int fd); int kernctl_open_metadata(int fd, struct lttng_channel_attr *chops); @@ -65,7 +66,13 @@ int kernctl_get_subbuf(int fd, unsigned long *pos); int kernctl_put_subbuf(int fd); int kernctl_buffer_flush(int fd); -int kernctl_set_stream_id(int fd, unsigned long *stream_id); -int kernctl_get_net_stream_id_offset(int fd, unsigned long *offset); + +/* index */ +int kernctl_get_timestamp_begin(int fd, uint64_t *timestamp_begin); +int kernctl_get_timestamp_end(int fd, uint64_t *timestamp_end); +int kernctl_get_events_discarded(int fd, uint64_t *events_discarded); +int kernctl_get_content_size(int fd, uint64_t *content_size); +int kernctl_get_packet_size(int fd, uint64_t *packet_size); +int kernctl_get_stream_id(int fd, uint64_t *stream_id); #endif /* _LTTNG_KERNEL_CTL_H */