projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: destroy command: put consumer output after destroy notifier
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
session.c
diff --git
a/src/bin/lttng-sessiond/session.c
b/src/bin/lttng-sessiond/session.c
index 9072a2ecbead28a7b1c1e990d9d827f009e8af89..7fd4332ec12d3bb9f1c9643275c16d1769ecb0cc 100644
(file)
--- a/
src/bin/lttng-sessiond/session.c
+++ b/
src/bin/lttng-sessiond/session.c
@@
-811,7
+811,6
@@
void session_release(struct urcu_ref *ref)
DBG("Destroying session %s (id %" PRIu64 ")", session->name, session->id);
DBG("Destroying session %s (id %" PRIu64 ")", session->name, session->id);
- consumer_output_put(session->consumer);
snapshot_destroy(&session->snapshot);
pthread_mutex_destroy(&session->lock);
snapshot_destroy(&session->snapshot);
pthread_mutex_destroy(&session->lock);
@@
-823,6
+822,7
@@
void session_release(struct urcu_ref *ref)
}
session_notify_destruction(session);
}
session_notify_destruction(session);
+ consumer_output_put(session->consumer);
kernel_free_session(ksess);
session->kernel_session = NULL;
if (usess) {
kernel_free_session(ksess);
session->kernel_session = NULL;
if (usess) {
This page took
0.0238 seconds
and
4
git commands to generate.