mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-14 19:02:02 +00:00
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>
18 lines
345 B
C
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 */
|