mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-15 22:54:01 +00:00
Collect the dm log to dmesg for profiing. These mesage will be easy to profile when dm booting. Tracked-On: #2336 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
18 lines
305 B
C
18 lines
305 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
*/
|
|
|
|
#ifndef _DM_KMSG_H_
|
|
#define _DM_KMSG_H_
|
|
|
|
#define DM_BUF 4096
|
|
#define KERN_NODE "/dev/kmsg"
|
|
#define KMSG_FMT "dm_run:"
|
|
|
|
void write_kmsg(const char *log, ...);
|
|
|
|
#endif /* _DM_KMSG_H_ */
|