X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.c;fp=src%2Fbin%2Flttng-sessiond%2Fkernel.c;h=251d934560dce04fbcaca8667d559d3d321485c4;hp=75b76db2ecc501d0f864dac63d8f580ff2f31452;hb=da7587b7850040b371b3a588a9d84535ea6cf530;hpb=49938fb6a42264963829418b06238dd6aa529a32 diff --git a/src/bin/lttng-sessiond/kernel.c b/src/bin/lttng-sessiond/kernel.c index 75b76db2e..251d93456 100644 --- a/src/bin/lttng-sessiond/kernel.c +++ b/src/bin/lttng-sessiond/kernel.c @@ -130,6 +130,11 @@ int kernel_create_session(struct ltt_session *session, int tracer_fd) WARN("Could not set kernel session name"); } + ret = kernctl_session_set_creation_time(lks->fd, session->creation_time); + if (ret) { + WARN("Could not set kernel session creation time"); + } + return 0; error: