Implement Xen hypervisor dmesg log entry timestamps
Implement timestamps in the Xen hypervisor dmesg log entries, like Linux does. Timestamps make troubleshooting easier, allowing you to actually know when certain events/errors happened.
Like this in Linux dmesg:
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.001000] tsc: Detected 2893.294 MHz processor
[ 0.000002] Calibrating delay loop (skipped), value calculated using timer fr
equency.. 5786.58 BogoMIPS (lpj=2893294)
[ 0.000004] pid_max: default: 32768 minimum: 301
[ 0.000037] Security Framework initialized
[ 0.000042] SELinux: Initializing.
[ 0.000049] SELinux: Starting in permissive mode
As promised, Andrew Cooper has implemented it, and is in the process of upstreaming it.
Andrew Cooper commented
There is "console_timestamps" as a Xen command line argument (defaulted off) which will do full date/timestamps.
It is an improvement over nothing, but it certainly not as useful as the above, which I have half a mind to implement myself when I get a free moment