osstest: enable timestamp on guests logs
PATCH 1/1 osstest: enable timestamp on guests logs
Enable the timestamp feature of xenconsoled so guests logs have a time reference. Can be helpful when debugging boot related slowness.
This requires using the XENCONSOLED_ARGS option and setting both the log and the timestamp options. Note that setting XENCONSOLED_TRACE will override any options in XENCONSOLED_ARGS, so they can not be used in conjunction.
---
Cc: Ian Jackson <[email protected]>
--- ts-xen-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ts-xen-install +1 -1
@@ -140,7 +140,7 @@ sub adjustconfig () { my @commons_config = ( - "XENCONSOLED_TRACE" => "guest", + "XENCONSOLED_ARGS" => '"--log=guest --timestamp=all"', ); my $xenstored = target_var($ho, 'xenstored');
Signature · 1 line
2.33.0
Roger Pau Monne writes ("[PATCH] osstest: enable timestamp on guests logs"):
Quoted 9 lines
Enable the timestamp feature of xenconsoled so guests logs have a time reference. Can be helpful when debugging boot related slowness.
This requires using the
XENCONSOLED_ARGSoption and setting both the log and the timestamp options. Note that settingXENCONSOLED_TRACEwill override any options inXENCONSOLED_ARGS, so they can not be used in conjunction.Signed-off-by Roger Pau Monné <[email protected]>
Thanks!
I have queued this on my "to be pushed after 4.16" branch.
Ian.