mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-02 05:34:04 +00:00
There are some massages which is not fatal error but should to print to serial and sbuf(hvlog) at the same time. pr_fatal is for fatal error massages and it is not good choice for the situation above. Introduce a new API pr_acrnlog to deal with the situation. And replace the following printf with pr_acrnlog for massages should be print to sbuf and serial. Then developers can get those massages on serial and BTM(Boot Time Measurement) can use acrnlog to get those massages from sbuf. BTM refers to Boot Time Measurement which will read acrnlog file to get timestamps of steps we want. Signed-off-by: Kaige Fu <kaige.fu@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
||
---|---|---|
.. | ||
assert.h | ||
console.h | ||
dump.h | ||
logmsg.h | ||
printf.h | ||
sbuf.h | ||
serial.h | ||
shell.h | ||
trace.h | ||
vuart.h |