Files
acrn-hypervisor/hypervisor/include/debug/npk_log.h
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

18 lines
345 B
C

/*
* Copyright (C) 2018 Intel Corporation.
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef NPK_LOG_H
#define NPK_LOG_H
struct hv_npk_log_param;
void npk_log_setup(struct hv_npk_log_param *param);
void npk_log_write(const char *buf, size_t len);
bool npk_need_log(uint32_t severity);
void npk_log(char *buffer);
#endif /* NPK_LOG_H */