projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move struct ltt_channel to shm for consumer flush
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-abi.c
diff --git
a/liblttng-ust/lttng-ust-abi.c
b/liblttng-ust/lttng-ust-abi.c
index 6d17c2005dd2999a02ab20f382b0dd525761ef31..639165eb3b21ad6a8606d7f3c0e720945f652d04 100644
(file)
--- a/
liblttng-ust/lttng-ust-abi.c
+++ b/
liblttng-ust/lttng-ust-abi.c
@@
-419,9
+419,10
@@
int lttng_abi_create_channel(int session_objd,
session->metadata = chan;
lttng_metadata_create_events(chan_objd);
}
session->metadata = chan;
lttng_metadata_create_events(chan_objd);
}
-
/* The channel created holds a reference on the session */
objd_ref(session_objd);
/* The channel created holds a reference on the session */
objd_ref(session_objd);
+ /* Copy of session UUID for consumer (availability through shm) */
+ memcpy(chan->uuid, session->uuid, sizeof(session->uuid));
return chan_objd;
return chan_objd;
This page took
0.022715 seconds
and
4
git commands to generate.