projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: don't wait for initial statedump when 0 session active
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-comm.c
diff --git
a/liblttng-ust/lttng-ust-comm.c
b/liblttng-ust/lttng-ust-comm.c
index 7d132ddcee379ac40c16ad5c0e5e14a698afedb8..bd9d0e9c004863e93509d36953733c63975e5162 100644
(file)
--- a/
liblttng-ust/lttng-ust-comm.c
+++ b/
liblttng-ust/lttng-ust-comm.c
@@
-655,6
+655,10
@@
int handle_register_done(struct sock_info *sock_info)
sock_info->registration_done = 1;
decrement_sem_count(1);
+ if (!sock_info->statedump_pending) {
+ sock_info->initial_statedump_done = 1;
+ decrement_sem_count(1);
+ }
return 0;
}
This page took
0.022396 seconds
and
4
git commands to generate.