projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove required parameter from module parameters
[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 3a8a1b27cf5e403389ba0b962ac775ec1040e158..eb772fe593273f968e422b5aabeae8b686cf3e97 100644
(file)
--- a/
src/bin/lttng-sessiond/main.c
+++ b/
src/bin/lttng-sessiond/main.c
@@
-4258,6
+4258,9
@@
static int set_option(int opt, const char *arg, const char *optname)
ret = -ENOMEM;
}
break;
ret = -ENOMEM;
}
break;
+ case 'f':
+ /* This is handled in set_options() thus silent break. */
+ break;
default:
/* Unknown option or other error.
* Error is printed by getopt, just return */
default:
/* Unknown option or other error.
* Error is printed by getopt, just return */
@@
-5190,7
+5193,7
@@
int main(int argc, char **argv)
ret = pthread_create(&apps_notify_thread, NULL,
ust_thread_manage_notify, (void *) NULL);
if (ret != 0) {
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;
}
goto exit_apps_notify;
}
@@
-5198,7
+5201,7
@@
int main(int argc, char **argv)
ret = pthread_create(&jul_reg_thread, NULL,
jul_thread_manage_registration, (void *) NULL);
if (ret != 0) {
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;
}
goto exit_jul_reg;
}
This page took
0.02457 seconds
and
4
git commands to generate.