X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmain.c;h=f5512a2c5751b7415dea7c9d77523ef39b41d83f;hb=bb5806063c450da26a38e1915f076723d00df260;hp=351824132466fe9c388ea832d801035c71b776af;hpb=4be084408c6d3d7b7f90a2493829c8ce0cebb397;p=src%2Fapp-framework-binder.git diff --git a/src/main.c b/src/main.c index 35182413..f5512a2c 100644 --- a/src/main.c +++ b/src/main.c @@ -20,6 +20,7 @@ #define AFB_BINDING_PRAGMA_NO_VERBOSE_MACRO #include +#include #include #include #include @@ -571,6 +572,8 @@ static void start() afb_hook_create_xreq(NULL, NULL, NULL, config->tracereq, NULL, NULL); if (config->traceditf) afb_hook_create_ditf(NULL, config->traceditf, NULL, NULL); + if (config->tracesvc) + afb_hook_create_svc(NULL, config->tracesvc, NULL, NULL); /* load bindings */ apiset_start_list(config->dbus_clients, afb_api_dbus_add_client, "the afb-dbus client");