Files
acrn-hypervisor/hypervisor/release/npk_log.c
Jiaqing Zhao 5803232d83 hv: enable acrnlog in release builds
Enable acrnlog (memory logging) in release builds, default log level
is still controlled by DEBUG_OPTIONS/MEM_LOGLEVEL in scenario file.

Tracked-On: #8805
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Reviewed-by: Yifan Liu  <yifan1.liu@intel.com>
2025-09-25 16:30:26 +08:00

15 lines
380 B
C

/*
* Copyright (C) 2018-2022 Intel Corporation.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <types.h>
#include <acrn_hv_defs.h>
void npk_log_setup(__unused struct hv_npk_log_param *param) {}
void npk_log_write(__unused const char *buf, __unused size_t len) {}
bool npk_need_log(__unused uint32_t severity) { return false; }
void npk_log(__unused char *buffer) {}