projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: local apps allowed should disable local (not global) tracing
[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 88ac59655d7208f434c9e255b702a32b31758213..1a1f7181df22c262c4e3bb5a4546cac97ee95793 100644
(file)
--- a/
liblttng-ust/lttng-ust-comm.c
+++ b/
liblttng-ust/lttng-ust-comm.c
@@
-898,12
+898,12
@@
void __attribute__((constructor)) lttng_ust_init(void)
PERROR("pthread_sigmask: %s", strerror(ret));
}
PERROR("pthread_sigmask: %s", strerror(ret));
}
- ret = pthread_create(&
loc
al_apps.ust_listener, NULL,
- ust_listener_thread, &
loc
al_apps);
+ ret = pthread_create(&
glob
al_apps.ust_listener, NULL,
+ ust_listener_thread, &
glob
al_apps);
if (local_apps.allowed) {
if (local_apps.allowed) {
- ret = pthread_create(&
glob
al_apps.ust_listener, NULL,
- ust_listener_thread, &
glob
al_apps);
+ ret = pthread_create(&
loc
al_apps.ust_listener, NULL,
+ ust_listener_thread, &
loc
al_apps);
} else {
handle_register_done(&local_apps);
}
} else {
handle_register_done(&local_apps);
}
This page took
0.024114 seconds
and
4
git commands to generate.