projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set thread name of run-as worker process
[lttng-tools.git]
/
src
/
common
/
runas.c
diff --git
a/src/common/runas.c
b/src/common/runas.c
index 849635c7f8fe9174676985ba8b0839da21d18c19..fc7b02be740d3636d0f25c514e58a6afc2c6c95d 100644
(file)
--- a/
src/common/runas.c
+++ b/
src/common/runas.c
@@
-1299,6
+1299,9
@@
int run_as_create_worker_no_lock(const char *procname,
reset_sighandler();
set_worker_sighandlers();
+
+ logger_set_thread_name("Run-as worker", true);
+
if (clean_up_func) {
if (clean_up_func(clean_up_user_data) < 0) {
ERR("Run-as post-fork clean-up failed, exiting.");
This page took
0.023255 seconds
and
4
git commands to generate.