X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftrace-kernel.h;h=3b211740ab5c632cbae9db9ddb50c3eafa7e98b7;hp=b1534197136ddfe735f63a5a7404b4b460f35182;hb=d070c424703336e9cca9d1603e1a81bee5b59560;hpb=3c02e545213e518001a24eac9c74d88ff1a03b63 diff --git a/src/bin/lttng-sessiond/trace-kernel.h b/src/bin/lttng-sessiond/trace-kernel.h index b15341971..3b211740a 100644 --- a/src/bin/lttng-sessiond/trace-kernel.h +++ b/src/bin/lttng-sessiond/trace-kernel.h @@ -120,6 +120,8 @@ struct ltt_kernel_session { unsigned int output_traces; unsigned int snapshot_mode; unsigned int has_non_default_channel; + /* Current trace chunk of the ltt_session. */ + struct lttng_trace_chunk *current_trace_chunk; }; /* @@ -162,5 +164,6 @@ void trace_kernel_destroy_channel(struct ltt_kernel_channel *channel); void trace_kernel_destroy_event(struct ltt_kernel_event *event); void trace_kernel_destroy_stream(struct ltt_kernel_stream *stream); void trace_kernel_destroy_context(struct ltt_kernel_context *ctx); +void trace_kernel_free_session(struct ltt_kernel_session *session); #endif /* _LTT_TRACE_KERNEL_H */