Already running profiling support. 23/103523/5 accepted/tizen/3.0/common/20161213.163342 accepted/tizen/3.0/ivi/20161213.091237 accepted/tizen/3.0/mobile/20161213.091104 accepted/tizen/3.0/tv/20161213.091158 accepted/tizen/3.0/wearable/20161213.091211 accepted/tizen/common/20161210.162132 accepted/tizen/ivi/20161212.025656 accepted/tizen/mobile/20161212.025551 accepted/tizen/tv/20161212.025625 accepted/tizen/wearable/20161212.025643 submit/tizen/20161209.134902 submit/tizen_3.0/20161209.134853
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Thu, 8 Dec 2016 13:32:10 +0000 (16:32 +0300)
committerVitaliy Cherepanov <v.cherepanov@samsung.com>
Fri, 9 Dec 2016 13:00:28 +0000 (05:00 -0800)
Change-Id: I6942146ce47d18ac7e374daf8554b938d57c678f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/da_inst.c

index c0a238c..fdbcd0d 100644 (file)
@@ -879,6 +879,11 @@ static int add_bins_to_gtp(struct user_space_inst_t *us_inst)
                switch (app->app->app_type) {
                case APP_TYPE_TIZEN:
                case APP_TYPE_COMMON:
+               case APP_TYPE_RUNNING:
+                       /* TODO Support full already running profiling
+                        * functionality
+                        */
+
                        gtp_p = fopen(GTP_ADD_BY_PATH, "w");
                        if (gtp_p == NULL) {
                                LOGE("Cannot open <%s> to write!",
@@ -899,9 +904,6 @@ static int add_bins_to_gtp(struct user_space_inst_t *us_inst)
                        }
                        fclose(gtp_p);
                        break;
-               case APP_TYPE_RUNNING:
-                       /* TODO Support already running */
-                       break;
                case APP_TYPE_WEB:
                        gtp_p = fopen(GTP_ADD_BY_ID, "w");
                        if (gtp_p == NULL) {