projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
890d27f
)
Fix: update back the metadata len sent on failure
author
David Goulet
<dgoulet@efficios.com>
Thu, 28 Nov 2013 18:20:15 +0000
(13:20 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Thu, 28 Nov 2013 18:49:53 +0000
(13:49 -0500)
Acked-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/ust-app.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/ust-app.c
b/src/bin/lttng-sessiond/ust-app.c
index de4aab55a0f9cde742df9f9dad9ac4c0031f72e2..fb52c0d06261b23677aa550fa29e8601adc97230 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.c
+++ b/
src/bin/lttng-sessiond/ust-app.c
@@
-478,6
+478,11
@@
push_data:
if (ret == -LTTCOMM_CONSUMERD_CHANNEL_FAIL) {
ret = 0;
}
+
+ /* Update back the actual metadata len sent since it failed here. */
+ pthread_mutex_lock(®istry->lock);
+ registry->metadata_len_sent -= len;
+ pthread_mutex_unlock(®istry->lock);
ret_val = ret;
goto error_push;
}
This page took
0.02708 seconds
and
4
git commands to generate.