Fix compilation of exynos-ss after disabling tracing
authorivanmeler <i_ivan@windowslive.com>
Tue, 29 Mar 2022 17:12:01 +0000 (17:12 +0000)
committerivanmeler <i_ivan@windowslive.com>
Tue, 29 Mar 2022 17:12:01 +0000 (17:12 +0000)
drivers/trace/exynos-ss.c

index e3bdfdbf3220fc6ee34fd9f87fd98135fb2fa698..9e52e78781fa0890f7fdcd1c5e2819959d87f56c 100644 (file)
@@ -2087,6 +2087,7 @@ bool exynos_ss_dumper_one(void *v_dumper,
                break;
        }
 #endif
+#ifndef CONFIG_EXYNOS_SNAPSHOT_MINIMIZED_MODE
        case ESS_FLAG_PRINTK:
        {
                char *log;
@@ -2140,6 +2141,7 @@ bool exynos_ss_dumper_one(void *v_dumper,
                                                msg, val, callstack[0], callstack[1], callstack[2], callstack[3]);
                break;
        }
+#endif
        default:
                snprintf(line, size, "unsupported inforation to dump\n");
                goto out;