change the dump file name 51/78851/1 accepted/tizen/common/20160707.171942 accepted/tizen/ivi/20160707.113858 accepted/tizen/mobile/20160707.113750 accepted/tizen/tv/20160707.113840 accepted/tizen/wearable/20160707.113748 submit/tizen/20160707.070907
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 7 Jul 2016 06:29:03 +0000 (15:29 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 7 Jul 2016 06:29:08 +0000 (15:29 +0900)
Change-Id: I819c9f99984972390dbdb87246aa239f06d8bc56

src/tbm_surface_internal.c

index 5f3c4b5..c605f5d 100644 (file)
@@ -1510,7 +1510,7 @@ tbm_surface_internal_dump_buffer(tbm_surface_h surface, const char *type)
        switch (info.format) {
        case TBM_FORMAT_ARGB8888:
        case TBM_FORMAT_XRGB8888:
-               snprintf(buf_info->name, sizeof(buf_info->name), "[%.3f](%03d:%p)-%s.%s", _get_time_in_millis() / 1000.0, g_dump_info->count++, surface, type, postfix);
+               snprintf(buf_info->name, sizeof(buf_info->name), "%.3f_%03d_%p-%s.%s", _get_time_in_millis() / 1000.0, g_dump_info->count++, surface, type, postfix);
                memcpy(bo_handle.ptr, info.planes[0].ptr, info.size);
                break;
        case TBM_FORMAT_YVU420: