X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.h;h=17aede1ed7f191b8041ff3cbf205091521752892;hb=b99a8d4211e26a847ca8916884354f159c999ad2;hp=233ceffea09222a4a140a774e0723915adc19aee;hpb=3a6922c6ab7b4d9455f517ac0bf86dfcede0ef3d;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/kernel.h b/src/bin/lttng-sessiond/kernel.h index 233ceffea..17aede1ed 100644 --- a/src/bin/lttng-sessiond/kernel.h +++ b/src/bin/lttng-sessiond/kernel.h @@ -54,7 +54,9 @@ int kernel_start_session(struct ltt_kernel_session *session); int kernel_stop_session(struct ltt_kernel_session *session); ssize_t kernel_list_events(int tracer_fd, struct lttng_event **event_list); void kernel_wait_quiescent(int fd); -int kernel_validate_version(int tracer_fd); +int kernel_validate_version(int tracer_fd, + struct lttng_kernel_tracer_version *kernel_tracer_version, + struct lttng_kernel_tracer_abi_version *kernel_tracer_abi_version); void kernel_destroy_session(struct ltt_kernel_session *ksess); void kernel_destroy_channel(struct ltt_kernel_channel *kchan); int kernel_snapshot_record(struct ltt_kernel_session *ksess, @@ -65,5 +67,6 @@ int kernel_syscall_mask(int chan_fd, char **syscall_mask, uint32_t *nr_bits); int init_kernel_workarounds(void); ssize_t kernel_list_tracker_pids(struct ltt_kernel_session *session, int **_pids); +int kernel_supports_ring_buffer_snapshot_sample_positions(int tracer_fd); #endif /* _LTT_KERNEL_CTL_H */