X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.h;h=a87405a4dfcd7e0372f4461b90f512a83a987713;hp=c0fe201d6720e68c70e1f3624c51b296a125fa52;hb=6dc3064a30b0cc7cfa9fdd22da1963525dfb7388;hpb=57f272edb1b4ccb8869e3f5b69eb5461bcb56101 diff --git a/src/bin/lttng-sessiond/kernel.h b/src/bin/lttng-sessiond/kernel.h index c0fe201d6..a87405a4d 100644 --- a/src/bin/lttng-sessiond/kernel.h +++ b/src/bin/lttng-sessiond/kernel.h @@ -19,6 +19,7 @@ #define _LTT_KERNEL_CTL_H #include "session.h" +#include "snapshot.h" #include "trace-kernel.h" /* @@ -53,6 +54,8 @@ int kernel_calibrate(int fd, struct lttng_kernel_calibrate *calibrate); int kernel_validate_version(int tracer_fd); 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, + struct snapshot_output *output, int wait); int init_kernel_workarounds(void);