projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: handle registration done command
[lttng-ust.git]
/
liblttng-ust-jul
/
org
/
lttng
/
ust
/
jul
/
LTTngTCPSessiondClient.java
diff --git
a/liblttng-ust-jul/org/lttng/ust/jul/LTTngTCPSessiondClient.java
b/liblttng-ust-jul/org/lttng/ust/jul/LTTngTCPSessiondClient.java
index 35f768f30c5b88d27d09cd7a498422cd9a16d222..aab1d05418b2f0d576248aa39950003b399aed58 100644
(file)
--- a/
liblttng-ust-jul/org/lttng/ust/jul/LTTngTCPSessiondClient.java
+++ b/
liblttng-ust-jul/org/lttng/ust/jul/LTTngTCPSessiondClient.java
@@
-188,7
+188,6
@@
public class LTTngTCPSessiondClient {
* UST application.
*/
registerToSessiond();
* UST application.
*/
registerToSessiond();
- this.registerSem.release();
setupEventTimer();
setupEventTimer();
@@
-274,6
+273,15
@@
public class LTTngTCPSessiondClient {
}
switch (headerCmd.cmd) {
}
switch (headerCmd.cmd) {
+ case CMD_REG_DONE:
+ {
+ /*
+ * Release semaphore so meaning registration is done and we
+ * can proceed to continue tracing.
+ */
+ this.registerSem.release();
+ break;
+ }
case CMD_LIST:
{
LTTngSessiondCmd2_4.sessiond_list_logger listLoggerCmd =
case CMD_LIST:
{
LTTngSessiondCmd2_4.sessiond_list_logger listLoggerCmd =
This page took
0.023122 seconds
and
4
git commands to generate.