projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support LTTNG_KERNEL_SESSION_SET_NAME of lttng-modules
[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 b4fc995ce118762630292f4a9623fcd78c5995cf..75b76db2ecc501d0f864dac63d8f580ff2f31452 100644
(file)
--- a/
src/bin/lttng-sessiond/kernel.c
+++ b/
src/bin/lttng-sessiond/kernel.c
@@
-125,6
+125,11
@@
int kernel_create_session(struct ltt_session *session, int tracer_fd)
DBG("Kernel session created (fd: %d)", lks->fd);
+ ret = kernctl_session_set_name(lks->fd, session->name);
+ if (ret) {
+ WARN("Could not set kernel session name");
+ }
+
return 0;
error:
This page took
0.023895 seconds
and
5
git commands to generate.