Add logs for debugging launching performance 30/234930/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 1 Jun 2020 01:34:33 +0000 (10:34 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 1 Jun 2020 01:34:33 +0000 (10:34 +0900)
Change-Id: Iaa040a61726e537180ec2f51ac4001488de05f5b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/service_app_main.c

index 1c3f471..4343dce 100644 (file)
@@ -188,6 +188,7 @@ static void __job_finish(void)
 
 static int __service_app_create(void *data)
 {
+       LOGW("service_app_create()");
        appcore_base_on_create();
 
        if (__context.callback.create == NULL ||
@@ -199,6 +200,7 @@ static int __service_app_create(void *data)
 
 static int __service_app_terminate(void *data)
 {
+       LOGW("service_app_terminate()");
        if (__context.callback.terminate)
                __context.callback.terminate(__context.data);
 
@@ -212,7 +214,7 @@ static int __service_app_control(bundle *b, void *data)
        app_control_h app_control = NULL;
        const char *job_id;
 
-       LOGD("[SERVICE_APP] app_control callback");
+       LOGW("service_app_control()");
        appcore_base_on_control(b);
 
        job_id = bundle_get_val(b, AUL_K_JOB_ID);
@@ -351,11 +353,13 @@ EXPORT_API int service_app_main(int argc, char **argv, service_app_lifecycle_cal
                .exit = __loop_exit,
        };
 
+       LOGW("service_app_main()");
        return service_app_main_ext(argc, argv, callback, &method, user_data);
 }
 
 EXPORT_API void service_app_exit(void)
 {
+       LOGW("service_app_exit()");
        appcore_base_exit();
 }