X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmain.c;h=c735ecbb3984f86146d1895d48a49d7c4a4e2a9a;hb=3e3a29fa49ec494800a4aa866d84fba4eaa8261b;hp=ff35b54b6dce19b9635037067a79808cfe850929;hpb=775144f839df8e3d37ec1cf52d0f7d3849ac7d46;p=src%2Fapp-framework-binder.git diff --git a/src/main.c b/src/main.c index ff35b54b..c735ecbb 100644 --- a/src/main.c +++ b/src/main.c @@ -51,7 +51,6 @@ #include "afb-common.h" #include "afb-monitor.h" #include "afb-hook.h" -#include "sd-fds.h" #include "afb-debug.h" #include "process-name.h" #include "afb-supervision.h" @@ -586,6 +585,8 @@ static void start(int signum, void *arg) afb_hook_create_svc(NULL, main_config->tracesvc, NULL, NULL); if (main_config->traceevt) afb_hook_create_evt(NULL, main_config->traceevt, NULL, NULL); + if (main_config->traceses) + afb_hook_create_session(NULL, main_config->traceses, NULL, NULL); /* load bindings */ afb_debug("start-load"); @@ -654,8 +655,6 @@ int main(int argc, char *argv[]) // let's run this program with a low priority nice(20); - sd_fds_init(); - // ------------- Build session handler & init config ------- main_config = afb_config_parse_arguments(argc, argv); if (main_config->name) {