Fix: Copy-pasted PERROR messages may be misleading
A message that is not in the archive (sent off-list or not yet received): [email protected]
Merged
Quoted 34 lines · Jérémie Galarneau
Some PERRORs in lttng-sessiond's pthread_create's error handling code indicate the wrong thread name which may be misleading during debugging.
Signed-off-by Jérémie Galarneau <[email protected]>--- src/bin/lttng-sessiond/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)src/bin/lttng-sessiond/main.c +2
-2@@ -5190,7 +5190,7 @@ int main(int argc, char **argv) ret =pthread_create (&apps_notify_thread,NULL , ust_thread_manage_notify, (void *)NULL );if (ret !=0 ) { -PERROR ("pthread_create apps" ); +PERROR ("pthread_create notify" ); goto exit_apps_notify; }@@ -5198,7 +5198,7 @@ int main(int argc, char **argv) ret =pthread_create (&jul_reg_thread,NULL , jul_thread_manage_registration, (void *)NULL );if (ret !=0 ) { -PERROR ("pthread_create apps" ); +PERROR ("pthread_create JUL" ); goto exit_jul_reg; }Signature · 1 line
1.9.2
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev