projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Move initialization of queue_pipe_fd after null check of handle
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
kernel.c
diff --git
a/src/bin/lttng-sessiond/kernel.c
b/src/bin/lttng-sessiond/kernel.c
index daf14b3396f8e8792b50c52028310aff0cf164d4..76162e08c75b3b15b226f02cc4f2625519e3d064 100644
(file)
--- a/
src/bin/lttng-sessiond/kernel.c
+++ b/
src/bin/lttng-sessiond/kernel.c
@@
-148,6
+148,12
@@
int kernel_create_session(struct ltt_session *session)
session->id, session->name);
}
session->id, session->name);
}
+ ret = kernctl_session_set_creation_time(lks->fd, session->creation_time);
+ if (ret) {
+ WARN("Could not set kernel session creation time for session %" PRIu64 " name: %s",
+ session->id, session->name);
+ }
+
return 0;
error:
return 0;
error:
This page took
0.023783 seconds
and
4
git commands to generate.