mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-12 12:30:08 +00:00
dm: core: Convert print output to acrn-dm logger
Unifies the logs to pr_* interfaces instead of printf for better log management. Tracked-On: #5267 Signed-off-by: Sun Peng <peng.p.sun@intel.com> Reviewed-by: Chi Mingqiang <mingqiang.chi@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
@@ -211,9 +211,9 @@ int acrn_parse_intr_monitor(const char *opt)
|
||||
(!dm_strtoui(cp + 1, &cp, 10, &period) && *cp == ',') &&
|
||||
(!dm_strtoui(cp + 1, &cp, 10, &delay) && *cp == ',') &&
|
||||
(!dm_strtoui(cp + 1, &cp, 10, &duration))) {
|
||||
printf("interrupt storm monitor params: %d, %d, %d, %d\n", threshold, period, delay, duration);
|
||||
pr_dbg("interrupt storm monitor params: %d, %d, %d, %d\n", threshold, period, delay, duration);
|
||||
} else {
|
||||
printf("%s: not correct, it should be like: --intr_monitor 10000,10,1,100, please check!\n", opt);
|
||||
pr_err("%s: not correct, it should be like: --intr_monitor 10000,10,1,100, please check!\n", opt);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user