From: Youngwan Kim Date: Wed, 11 Jul 2018 02:43:27 +0000 (+0900) Subject: [COMMON] lib: libdss: Add ifdef for FREQ X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d02a85636c358ce708fe082e2b60d74b4ef25165;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] lib: libdss: Add ifdef for FREQ Change-Id: I0b81dc0a9ecd58a9848360e1a0f8bae44f5f1dc8 Signed-off-by: Youngwan Kim --- 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++) {