From d02a85636c358ce708fe082e2b60d74b4ef25165 Mon Sep 17 00:00:00 2001 From: Youngwan Kim Date: Wed, 11 Jul 2018 11:43:27 +0900 Subject: [PATCH] [COMMON] lib: libdss: Add ifdef for FREQ Change-Id: I0b81dc0a9ecd58a9848360e1a0f8bae44f5f1dc8 Signed-off-by: Youngwan Kim --- lib/dss-reader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dss-reader.c b/lib/dss-reader.c index 558358dd1ab9..9aa44339ece8 100644 --- a/lib/dss-reader.c +++ b/lib/dss-reader.c @@ -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++) { -- 2.20.1