[COMMON] lib: libdss: Add ifdef for FREQ
authorYoungwan Kim <y103.kim@samsung.com>
Wed, 11 Jul 2018 02:43:27 +0000 (11:43 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:04:50 +0000 (17:04 +0900)
Change-Id: I0b81dc0a9ecd58a9848360e1a0f8bae44f5f1dc8
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
lib/dss-reader.c

index 558358dd1ab9637dd2b4c7f36fb7413bd66c433f..9aa44339ece8390f426709fcd0d69b0af9a8ab10 100644 (file)
@@ -37,6 +37,7 @@ int main(int argc, char *argv[])
                }
        }
 
+#ifdef CONFIG_DEBUG_SNAPSHOT_FREQ
        for (i = 0; i < DSS_LOG_MAX_NUM; i++) {
                printf("log[%.9f] = {  'type' : 'freq', 'cpu' : %d, 'cluster' : %d, 'freq' : %lu }\n",
                                p->freq[i].time/1.0e9,
@@ -46,6 +47,7 @@ int main(int argc, char *argv[])
                if (p->freq[i].time == 0)
                        break;
        }
+#endif
 
        for (i = 0; i < DSS_NR_CPUS; i++) {
                for (j = 0; j < DSS_LOG_MAX_NUM; j++) {