projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond consumer thread should register as RCU thread
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
main.c
diff --git
a/src/bin/lttng-sessiond/main.c
b/src/bin/lttng-sessiond/main.c
index c5c7d84b1f5d7bb0d434fff7f187665ca9041cc7..5a7d153e568743c73365549bd9676311789b9c48 100644
(file)
--- a/
src/bin/lttng-sessiond/main.c
+++ b/
src/bin/lttng-sessiond/main.c
@@
-1216,6
+1216,9
@@
static void *thread_manage_consumer(void *data)
DBG("[thread] Manage consumer started");
DBG("[thread] Manage consumer started");
+ rcu_register_thread();
+ rcu_thread_online();
+
health_register(health_sessiond, HEALTH_SESSIOND_TYPE_CONSUMER);
health_code_update();
health_register(health_sessiond, HEALTH_SESSIOND_TYPE_CONSUMER);
health_code_update();
@@
-1514,6
+1517,9
@@
error_poll:
health_unregister(health_sessiond);
DBG("consumer thread cleanup completed");
health_unregister(health_sessiond);
DBG("consumer thread cleanup completed");
+ rcu_thread_offline();
+ rcu_unregister_thread();
+
return NULL;
}
return NULL;
}
This page took
0.026108 seconds
and
5
git commands to generate.