Move utils_expand_path and utils_expand_path_keep_symlink to libpath.la
[lttng-tools.git] / src / bin / lttng-sessiond / sessiond-config.cpp
CommitLineData
e6142f2e 1/*
ab5be9fa 2 * Copyright (C) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
e6142f2e 3 *
ab5be9fa 4 * SPDX-License-Identifier: GPL-2.0-only
e6142f2e 5 *
e6142f2e
JG
6 */
7
a3bc3918 8#include "version.h"
e6142f2e 9#include "sessiond-config.h"
e6142f2e
JG
10#include "lttng-ust-ctl.h"
11#include <common/defaults.h>
12#include <limits.h>
e6142f2e
JG
13#include <ctype.h>
14#include <common/error.h>
15#include <common/utils.h>
4971b7f0 16#include <common/path.h>
edf4b93e 17#include <common/compat/errno.h>
e6142f2e
JG
18#include <common/compat/getenv.h>
19
20static
21struct sessiond_config sessiond_config_build_defaults = {
e6142f2e
JG
22 .verbose = 0,
23 .verbose_consumer = 0,
2288467f 24 .agent_tcp_port = { .begin = DEFAULT_AGENT_TCP_PORT_RANGE_BEGIN, .end = DEFAULT_AGENT_TCP_PORT_RANGE_END },
7966af57 25
761ffce2
FD
26 .event_notifier_buffer_size_kernel = DEFAULT_EVENT_NOTIFIER_ERROR_COUNT_MAP_SIZE,
27 .event_notifier_buffer_size_userspace = DEFAULT_EVENT_NOTIFIER_ERROR_COUNT_MAP_SIZE,
e6142f2e
JG
28 .app_socket_timeout = DEFAULT_APP_SOCKET_RW_TIMEOUT,
29
7966af57
SM
30 .quiet = false,
31
32
e6142f2e
JG
33 .no_kernel = false,
34 .background = false,
35 .daemonize = false,
36 .sig_parent = false,
37
7966af57
SM
38 .tracing_group_name = { (char *) DEFAULT_TRACING_GROUP },
39 .kmod_probes_list = { nullptr },
40 .kmod_extra_probes_list = { nullptr },
e6142f2e 41
7966af57 42 .rundir = { nullptr },
e6142f2e 43
7966af57
SM
44 .apps_unix_sock_path = { nullptr },
45 .client_unix_sock_path = { nullptr },
46 .wait_shm_path = { nullptr },
47 .health_unix_sock_path = { nullptr },
48 .lttng_ust_clock_plugin = { nullptr },
49 .pid_file_path = { nullptr },
50 .lock_file_path = { nullptr },
51 .load_session_path = { nullptr },
52 .agent_port_file_path = { nullptr },
e6142f2e 53
7966af57
SM
54 .consumerd32_path = { nullptr },
55 .consumerd32_bin_path = { nullptr },
56 .consumerd32_lib_dir = { nullptr },
57 .consumerd32_err_unix_sock_path = { nullptr },
58 .consumerd32_cmd_unix_sock_path = { nullptr },
e6142f2e 59
7966af57
SM
60 .consumerd64_path = { nullptr },
61 .consumerd64_bin_path = { nullptr },
62 .consumerd64_lib_dir = { nullptr },
63 .consumerd64_err_unix_sock_path = { nullptr },
64 .consumerd64_cmd_unix_sock_path = { nullptr },
e6142f2e 65
7966af57
SM
66 .kconsumerd_path = { nullptr },
67 .kconsumerd_err_unix_sock_path = { nullptr },
68 .kconsumerd_cmd_unix_sock_path = { nullptr },
e6142f2e
JG
69};
70
71static
72void config_string_fini(struct config_string *str)
73{
74 config_string_set(str, NULL);
75}
76
77static
78void config_string_set_static(struct config_string *config_str,
79 const char *value)
80{
81 config_string_set(config_str, (char *) value);
82 config_str->should_free = false;
83}
84
85/* Only use for dynamically-allocated strings. */
e6142f2e
JG
86void config_string_set(struct config_string *config_str, char *value)
87{
a0377dfe 88 LTTNG_ASSERT(config_str);
e6142f2e
JG
89 if (config_str->should_free) {
90 free(config_str->value);
91 config_str->should_free = false;
92 }
93
94 config_str->should_free = !!value;
95 config_str->value = value;
96}
97
e6142f2e
JG
98int sessiond_config_apply_env_config(struct sessiond_config *config)
99{
100 int ret = 0;
101 const char *env_value;
102
103 env_value = getenv(DEFAULT_APP_SOCKET_TIMEOUT_ENV);
104 if (env_value) {
105 char *endptr;
106 long int_val;
107
108 errno = 0;
109 int_val = strtoul(env_value, &endptr, 0);
110 if (errno != 0 || int_val > INT_MAX ||
111 (int_val < 0 && int_val != -1)) {
112 ERR("Invalid value \"%s\" used for \"%s\" environment variable",
113 env_value, DEFAULT_APP_SOCKET_TIMEOUT_ENV);
114 ret = -1;
115 goto end;
116 }
117
118 config->app_socket_timeout = int_val;
119 }
120
121 env_value = lttng_secure_getenv("LTTNG_CONSUMERD32_BIN");
122 if (env_value) {
123 config_string_set_static(&config->consumerd32_bin_path,
124 env_value);
125 }
126 env_value = lttng_secure_getenv("LTTNG_CONSUMERD64_BIN");
127 if (env_value) {
128 config_string_set_static(&config->consumerd64_bin_path,
129 env_value);
130 }
131
132 env_value = lttng_secure_getenv("LTTNG_CONSUMERD32_LIBDIR");
133 if (env_value) {
134 config_string_set_static(&config->consumerd32_lib_dir,
135 env_value);
136 }
137 env_value = lttng_secure_getenv("LTTNG_CONSUMERD64_LIBDIR");
138 if (env_value) {
139 config_string_set_static(&config->consumerd64_lib_dir,
140 env_value);
141 }
142
143 env_value = lttng_secure_getenv("LTTNG_UST_CLOCK_PLUGIN");
144 if (env_value) {
145 config_string_set_static(&config->lttng_ust_clock_plugin,
146 env_value);
147 }
148
149 env_value = lttng_secure_getenv(DEFAULT_LTTNG_KMOD_PROBES);
150 if (env_value) {
151 config_string_set_static(&config->kmod_probes_list,
152 env_value);
153 }
154
155 env_value = lttng_secure_getenv(DEFAULT_LTTNG_EXTRA_KMOD_PROBES);
156 if (env_value) {
157 config_string_set_static(&config->kmod_extra_probes_list,
158 env_value);
159 }
160end:
161 return ret;
162}
163
164static
165int config_set_paths_root(struct sessiond_config *config)
166{
167 int ret = 0;
168
169 config_string_set(&config->rundir, strdup(DEFAULT_LTTNG_RUNDIR));
170 if (!config->rundir.value) {
171 ERR("Failed to set rundir");
172 ret = -1;
173 goto end;
174 }
175
176 config_string_set_static(&config->apps_unix_sock_path,
177 DEFAULT_GLOBAL_APPS_UNIX_SOCK);
178 config_string_set_static(&config->client_unix_sock_path,
179 DEFAULT_GLOBAL_CLIENT_UNIX_SOCK);
180 config_string_set_static(&config->wait_shm_path,
181 DEFAULT_GLOBAL_APPS_WAIT_SHM_PATH);
182 config_string_set_static(&config->health_unix_sock_path,
183 DEFAULT_GLOBAL_HEALTH_UNIX_SOCK);
e6142f2e
JG
184end:
185 return ret;
186}
187
188static
189int config_set_paths_non_root(struct sessiond_config *config)
190{
191 int ret = 0;
192 const char *home_path = utils_get_home_dir();
193 char *str;
194
195 if (home_path == NULL) {
196 ERR("Can't get HOME directory for sockets creation.");
197 ret = -1;
198 goto end;
199 }
200
201 /*
202 * Create rundir from home path. This will create something like
203 * $HOME/.lttng
204 */
205 ret = asprintf(&str, DEFAULT_LTTNG_HOME_RUNDIR, home_path);
206 if (ret < 0) {
207 ERR("Failed to set rundir");
208 goto end;
209 }
210 config_string_set(&config->rundir, str);
211 str = NULL;
212
213 ret = asprintf(&str, DEFAULT_HOME_APPS_UNIX_SOCK, home_path);
214 if (ret < 0) {
215 ERR("Failed to set default home apps unix socket path");
216 goto end;
217 }
218 config_string_set(&config->apps_unix_sock_path, str);
219 str = NULL;
220
221 ret = asprintf(&str, DEFAULT_HOME_CLIENT_UNIX_SOCK, home_path);
222 if (ret < 0) {
223 ERR("Failed to set default home client unix socket path");
224 goto end;
225 }
226 config_string_set(&config->client_unix_sock_path, str);
227 str = NULL;
228
229 ret = asprintf(&str, DEFAULT_HOME_APPS_WAIT_SHM_PATH, getuid());
230 if (ret < 0) {
231 ERR("Failed to set default home apps wait shm path");
232 goto end;
233 }
234 config_string_set(&config->wait_shm_path, str);
235 str = NULL;
236
237 ret = asprintf(&str, DEFAULT_HOME_HEALTH_UNIX_SOCK, home_path);
238 if (ret < 0) {
239 ERR("Failed to set default home health UNIX socket path");
240 goto end;
241 }
242 config_string_set(&config->health_unix_sock_path, str);
243 str = NULL;
244
245 ret = 0;
246end:
247 return ret;
248}
249
e6142f2e
JG
250int sessiond_config_init(struct sessiond_config *config)
251{
252 int ret;
253 bool is_root = (getuid() == 0);
254 char *str;
255
a0377dfe 256 LTTNG_ASSERT(config);
e6142f2e
JG
257 memcpy(config, &sessiond_config_build_defaults, sizeof(*config));
258
259 if (is_root) {
260 ret = config_set_paths_root(config);
261 } else {
262 ret = config_set_paths_non_root(config);
263 }
2a9f757b 264 if (ret < 0) {
c9a2957d 265 goto error;
2a9f757b 266 }
e6142f2e
JG
267
268 /* 32 bits consumerd path setup */
269 ret = asprintf(&str, DEFAULT_USTCONSUMERD32_PATH,
270 config->rundir.value);
271 if (ret < 0) {
272 ERR("Failed to set 32-bit consumer path");
c9a2957d 273 goto error;
e6142f2e
JG
274 }
275 config_string_set(&config->consumerd32_path, str);
276 str = NULL;
277
278 ret = asprintf(&str, DEFAULT_USTCONSUMERD32_ERR_SOCK_PATH,
279 config->rundir.value);
280 if (ret < 0) {
281 ERR("Failed to set 32-bit consumer error socket path");
c9a2957d 282 goto error;
e6142f2e
JG
283 }
284 config_string_set(&config->consumerd32_err_unix_sock_path, str);
285 str = NULL;
286
287 ret = asprintf(&str, DEFAULT_USTCONSUMERD32_CMD_SOCK_PATH,
288 config->rundir.value);
289 if (ret < 0) {
290 ERR("Failed to set 32-bit consumer command socket path");
c9a2957d 291 goto error;
e6142f2e
JG
292 }
293 config_string_set(&config->consumerd32_cmd_unix_sock_path, str);
294 str = NULL;
295
296 /* 64 bits consumerd path setup */
297 ret = asprintf(&str, DEFAULT_USTCONSUMERD64_PATH,
298 config->rundir.value);
299 if (ret < 0) {
300 ERR("Failed to set 64-bit consumer path");
c9a2957d 301 goto error;
e6142f2e
JG
302 }
303 config_string_set(&config->consumerd64_path, str);
304 str = NULL;
305
306 ret = asprintf(&str, DEFAULT_USTCONSUMERD64_ERR_SOCK_PATH,
307 config->rundir.value);
308 if (ret < 0) {
309 ERR("Failed to set 64-bit consumer error socket path");
c9a2957d 310 goto error;
e6142f2e
JG
311 }
312 config_string_set(&config->consumerd64_err_unix_sock_path, str);
313 str = NULL;
314
315 ret = asprintf(&str, DEFAULT_USTCONSUMERD64_CMD_SOCK_PATH,
316 config->rundir.value);
317 if (ret < 0) {
318 ERR("Failed to set 64-bit consumer command socket path");
c9a2957d 319 goto error;
e6142f2e
JG
320 }
321 config_string_set(&config->consumerd64_cmd_unix_sock_path, str);
322 str = NULL;
323
324 /* kconsumerd consumerd path setup */
325 ret = asprintf(&str, DEFAULT_KCONSUMERD_PATH,
326 config->rundir.value);
327 if (ret < 0) {
328 ERR("Failed to set kernel consumer path");
c9a2957d 329 goto error;
e6142f2e
JG
330 }
331 config_string_set(&config->kconsumerd_path, str);
332 str = NULL;
333
4a08b740
JG
334 ret = asprintf(&str, DEFAULT_KCONSUMERD_ERR_SOCK_PATH,
335 config->rundir.value);
336 if (ret < 0) {
337 ERR("Failed to set kernel consumer error socket path");
c9a2957d 338 goto error;
4a08b740
JG
339 }
340 config_string_set(&config->kconsumerd_err_unix_sock_path, str);
341 str = NULL;
342
343 ret = asprintf(&str, DEFAULT_KCONSUMERD_CMD_SOCK_PATH,
344 config->rundir.value);
345 if (ret < 0) {
346 ERR("Failed to set kernel consumer command socket path");
c9a2957d 347 goto error;
4a08b740
JG
348 }
349 config_string_set(&config->kconsumerd_cmd_unix_sock_path, str);
350 str = NULL;
351
e6142f2e
JG
352 ret = asprintf(&str, "%s/%s", config->rundir.value,
353 DEFAULT_LTTNG_SESSIOND_PIDFILE);
354 if (ret < 0) {
355 ERR("Failed to set PID file path");
c9a2957d 356 goto error;
e6142f2e
JG
357 }
358 config_string_set(&config->pid_file_path, str);
359 str = NULL;
360
361 ret = asprintf(&str, "%s/%s", config->rundir.value,
362 DEFAULT_LTTNG_SESSIOND_LOCKFILE);
363 if (ret < 0) {
364 ERR("Failed to set lock file path");
c9a2957d 365 goto error;
e6142f2e
JG
366 }
367 config_string_set(&config->lock_file_path, str);
368 str = NULL;
369
370 ret = asprintf(&str, "%s/%s", config->rundir.value,
371 DEFAULT_LTTNG_SESSIOND_AGENTPORT_FILE);
372 if (ret < 0) {
373 ERR("Failed to set agent port file path");
c9a2957d 374 goto error;
e6142f2e
JG
375 }
376 config_string_set(&config->agent_port_file_path, str);
377 str = NULL;
378
379 /*
380 * Allow INSTALL_BIN_PATH to be used as a target path for the
381 * native architecture size consumer if CONFIG_CONSUMER*_PATH
382 * has not been defined.
383 */
384#if (CAA_BITS_PER_LONG == 32)
385 config_string_set_static(&config->consumerd32_bin_path,
386 INSTALL_BIN_PATH "/" DEFAULT_CONSUMERD_FILE);
387 config_string_set_static(&config->consumerd32_lib_dir,
388 INSTALL_LIB_PATH);
389#elif (CAA_BITS_PER_LONG == 64)
390 config_string_set_static(&config->consumerd64_bin_path,
391 INSTALL_BIN_PATH "/" DEFAULT_CONSUMERD_FILE);
392 config_string_set_static(&config->consumerd64_lib_dir,
393 INSTALL_LIB_PATH);
394#else
395#error "Unknown bitness"
396#endif
397 ret = 0;
c9a2957d
JG
398 return ret;
399error:
400 sessiond_config_fini(config);
e6142f2e
JG
401 return ret;
402}
403
e6142f2e
JG
404void sessiond_config_fini(struct sessiond_config *config)
405{
406 config_string_fini(&config->tracing_group_name);
407 config_string_fini(&config->kmod_probes_list);
408 config_string_fini(&config->kmod_extra_probes_list);
16ffecdb 409 config_string_fini(&config->rundir);
e6142f2e
JG
410 config_string_fini(&config->apps_unix_sock_path);
411 config_string_fini(&config->client_unix_sock_path);
412 config_string_fini(&config->wait_shm_path);
413 config_string_fini(&config->health_unix_sock_path);
414 config_string_fini(&config->lttng_ust_clock_plugin);
415 config_string_fini(&config->pid_file_path);
416 config_string_fini(&config->lock_file_path);
417 config_string_fini(&config->load_session_path);
418 config_string_fini(&config->agent_port_file_path);
419 config_string_fini(&config->consumerd32_path);
420 config_string_fini(&config->consumerd32_bin_path);
421 config_string_fini(&config->consumerd32_lib_dir);
422 config_string_fini(&config->consumerd32_err_unix_sock_path);
423 config_string_fini(&config->consumerd32_cmd_unix_sock_path);
424 config_string_fini(&config->consumerd64_path);
425 config_string_fini(&config->consumerd64_bin_path);
426 config_string_fini(&config->consumerd64_lib_dir);
427 config_string_fini(&config->consumerd64_err_unix_sock_path);
428 config_string_fini(&config->consumerd64_cmd_unix_sock_path);
429 config_string_fini(&config->kconsumerd_path);
430 config_string_fini(&config->kconsumerd_err_unix_sock_path);
431 config_string_fini(&config->kconsumerd_cmd_unix_sock_path);
432}
433
434static
435int resolve_path(struct config_string *path)
436{
437 int ret = 0;
438 char *absolute_path;
439
440 if (!path->value || path->value[0] == '/') {
441 goto end;
442 }
443
444 absolute_path = utils_expand_path(path->value);
445 if (!absolute_path) {
446 ret = -1;
447 goto end;
448 }
449
450 config_string_set(path, absolute_path);
451end:
452 return ret;
453}
454
455#define RESOLVE_CHECK(path_config_str) \
456 if (resolve_path(path_config_str)) \
457 return -1
458
e6142f2e
JG
459int sessiond_config_resolve_paths(struct sessiond_config *config)
460{
461 RESOLVE_CHECK(&config->apps_unix_sock_path);
462 RESOLVE_CHECK(&config->client_unix_sock_path);
463 RESOLVE_CHECK(&config->wait_shm_path);
464 RESOLVE_CHECK(&config->health_unix_sock_path);
465 RESOLVE_CHECK(&config->lttng_ust_clock_plugin);
466 RESOLVE_CHECK(&config->pid_file_path);
467 RESOLVE_CHECK(&config->lock_file_path);
468 RESOLVE_CHECK(&config->load_session_path);
469 RESOLVE_CHECK(&config->agent_port_file_path);
470 RESOLVE_CHECK(&config->consumerd32_path);
471 RESOLVE_CHECK(&config->consumerd32_bin_path);
472 RESOLVE_CHECK(&config->consumerd32_lib_dir);
473 RESOLVE_CHECK(&config->consumerd32_err_unix_sock_path);
474 RESOLVE_CHECK(&config->consumerd32_cmd_unix_sock_path);
475 RESOLVE_CHECK(&config->consumerd64_path);
476 RESOLVE_CHECK(&config->consumerd64_bin_path);
477 RESOLVE_CHECK(&config->consumerd64_lib_dir);
478 RESOLVE_CHECK(&config->consumerd64_err_unix_sock_path);
479 RESOLVE_CHECK(&config->consumerd64_cmd_unix_sock_path);
480 RESOLVE_CHECK(&config->kconsumerd_path);
481 RESOLVE_CHECK(&config->kconsumerd_err_unix_sock_path);
482 RESOLVE_CHECK(&config->kconsumerd_cmd_unix_sock_path);
483 return 0;
484}
485
e6142f2e
JG
486void sessiond_config_log(struct sessiond_config *config)
487{
488 DBG_NO_LOC("[sessiond configuration]");
a3bc3918
JR
489 DBG_NO_LOC("\tversion %s", VERSION);
490 if (GIT_VERSION[0] != '\0') {
491 DBG_NO_LOC("\tgit version %s", GIT_VERSION);
492 }
493 if (EXTRA_VERSION_NAME[0] != '\0') {
494 DBG_NO_LOC("\textra version name %s", EXTRA_VERSION_NAME);
495 }
496 if (EXTRA_VERSION_DESCRIPTION[0] != '\0') {
497 DBG_NO_LOC("\textra version description:\n\t%s", EXTRA_VERSION_DESCRIPTION);
498 }
7f5ed73a
JR
499 if (EXTRA_VERSION_PATCHES[0] != '\0') {
500 DBG_NO_LOC("\textra version patches:\n\t%s", EXTRA_VERSION_PATCHES);
501 }
2ca43cb1
JR
502 DBG_NO_LOC("\tverbose: %i", config->verbose);
503 DBG_NO_LOC("\tverbose consumer: %i", config->verbose_consumer);
504 DBG_NO_LOC("\tquiet mode: %s", config->quiet ? "True" : "False");
2288467f 505 if (config->agent_tcp_port.begin == config->agent_tcp_port.end) {
2ca43cb1 506 DBG_NO_LOC("\tagent_tcp_port: %i", config->agent_tcp_port.begin);
2288467f 507 } else {
2ca43cb1 508 DBG_NO_LOC("\tagent_tcp_port: [%i, %i]",
2288467f
JG
509 config->agent_tcp_port.begin,
510 config->agent_tcp_port.end);
511 }
2ca43cb1
JR
512 DBG_NO_LOC("\tapplication socket timeout: %i", config->app_socket_timeout);
513 DBG_NO_LOC("\tno-kernel: %s", config->no_kernel ? "True" : "False");
514 DBG_NO_LOC("\tbackground: %s", config->background ? "True" : "False");
515 DBG_NO_LOC("\tdaemonize: %s", config->daemonize ? "True" : "False");
516 DBG_NO_LOC("\tsignal parent on start: %s", config->sig_parent ? "True" : "False");
517 DBG_NO_LOC("\ttracing group name: %s", config->tracing_group_name.value ? : "Unknown");
518 DBG_NO_LOC("\tkmod_probe_list: %s", config->kmod_probes_list.value ? : "None");
519 DBG_NO_LOC("\tkmod_extra_probe_list: %s", config->kmod_extra_probes_list.value ? : "None");
520 DBG_NO_LOC("\trundir: %s", config->rundir.value ? : "Unknown");
521 DBG_NO_LOC("\tapplication socket path: %s", config->apps_unix_sock_path.value ? : "Unknown");
522 DBG_NO_LOC("\tclient socket path: %s", config->client_unix_sock_path.value ? : "Unknown");
523 DBG_NO_LOC("\twait shm path: %s", config->wait_shm_path.value ? : "Unknown");
524 DBG_NO_LOC("\thealth socket path: %s", config->health_unix_sock_path.value ? : "Unknown");
525 DBG_NO_LOC("\tLTTNG_UST_CLOCK_PLUGIN: %s", config->lttng_ust_clock_plugin.value ? : "None");
526 DBG_NO_LOC("\tpid file path: %s", config->pid_file_path.value ? : "Unknown");
527 DBG_NO_LOC("\tlock file path: %s", config->lock_file_path.value ? : "Unknown");
528 DBG_NO_LOC("\tsession load path: %s", config->load_session_path.value ? : "None");
529 DBG_NO_LOC("\tagent port file path: %s", config->agent_port_file_path.value ? : "Unknown");
530 DBG_NO_LOC("\tconsumerd32 path: %s", config->consumerd32_path.value ? : "Unknown");
531 DBG_NO_LOC("\tconsumerd32 bin path: %s", config->consumerd32_bin_path.value ? : "Unknown");
532 DBG_NO_LOC("\tconsumerd32 lib dir: %s", config->consumerd32_lib_dir.value ? : "Unknown");
533 DBG_NO_LOC("\tconsumerd32 err unix sock path:%s", config->consumerd32_err_unix_sock_path.value ? : "Unknown");
534 DBG_NO_LOC("\tconsumerd32 cmd unix sock path:%s", config->consumerd32_cmd_unix_sock_path.value ? : "Unknown");
535 DBG_NO_LOC("\tconsumerd64 path: %s", config->consumerd64_path.value ? : "Unknown");
536 DBG_NO_LOC("\tconsumerd64 bin path: %s", config->consumerd64_bin_path.value ? : "Unknown");
537 DBG_NO_LOC("\tconsumerd64 lib dir: %s", config->consumerd64_lib_dir.value ? : "Unknown");
538 DBG_NO_LOC("\tconsumerd64 err unix sock path:%s", config->consumerd64_err_unix_sock_path.value ? : "Unknown");
539 DBG_NO_LOC("\tconsumerd64 cmd unix sock path:%s", config->consumerd64_cmd_unix_sock_path.value ? : "Unknown");
540 DBG_NO_LOC("\tkconsumerd path: %s", config->kconsumerd_path.value ? : "Unknown");
541 DBG_NO_LOC("\tkconsumerd err unix sock path: %s", config->kconsumerd_err_unix_sock_path.value ? : "Unknown");
542 DBG_NO_LOC("\tkconsumerd cmd unix sock path: %s", config->kconsumerd_cmd_unix_sock_path.value ? : "Unknown");
e6142f2e 543}
This page took 0.065587 seconds and 4 git commands to generate.