projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: sessiond: prepend `the_` to global variable names
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notification-thread.c
diff --git
a/src/bin/lttng-sessiond/notification-thread.c
b/src/bin/lttng-sessiond/notification-thread.c
index 5801682962e9add2c57d83c30a8fad3a210201e6..56f1124fbfbfbde93c7a1ba9959182221e58095d 100644
(file)
--- a/
src/bin/lttng-sessiond/notification-thread.c
+++ b/
src/bin/lttng-sessiond/notification-thread.c
@@
-238,8
+238,8
@@
int notification_channel_socket_create(void)
if (getuid() == 0) {
gid_t gid;
if (getuid() == 0) {
gid_t gid;
- ret =
utils_get_group_id(config.tracing_group_name.value, tr
ue,
- &gid);
+ ret =
utils_get_group_id(the_config.tracing_group_name.val
ue,
+
true,
&gid);
if (ret) {
/* Default to root group. */
gid = 0;
if (ret) {
/* Default to root group. */
gid = 0;
@@
-639,7
+639,7
@@
void *thread_notification(void *data)
DBG("[notification-thread] Started notification thread");
DBG("[notification-thread] Started notification thread");
- health_register(health_sessiond, HEALTH_SESSIOND_TYPE_NOTIFICATION);
+ health_register(
the_
health_sessiond, HEALTH_SESSIOND_TYPE_NOTIFICATION);
rcu_register_thread();
rcu_thread_online();
rcu_register_thread();
rcu_thread_online();
@@
-778,7
+778,7
@@
error:
end:
rcu_thread_offline();
rcu_unregister_thread();
end:
rcu_thread_offline();
rcu_unregister_thread();
- health_unregister(health_sessiond);
+ health_unregister(
the_
health_sessiond);
return NULL;
}
return NULL;
}
This page took
0.024964 seconds
and
4
git commands to generate.