Files
acrn-hypervisor/devicemodel/include/dm_kmsg.h
Wei Liu 19b6eea150 dm: add dm log to kmsg for profiling
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>
2019-01-14 19:38:54 +08:00

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_ */