diff mbox series

[OSSTEST] ts-*logs*: Capture xl dmesg, and save it from host examination

Message ID 20200309154314.16432-1-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series [OSSTEST] ts-*logs*: Capture xl dmesg, and save it from host examination | expand

Commit Message

Ian Jackson March 9, 2020, 3:43 p.m. UTC
CC: Roger Pau Monné <royger@FreeBSD.org>
CC: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 ts-examine-logs-save | 3 ++-
 ts-logs-capture      | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/ts-examine-logs-save b/ts-examine-logs-save
index 0c97330b..58823620 100755
--- a/ts-examine-logs-save
+++ b/ts-examine-logs-save
@@ -83,7 +83,8 @@  sub save_logs () {
 			-output-cat_#proc#partitions
 			-output-ifconfig
 			-output-lspci_-tv
-			-output-xl_info_-n)) {
+			-output-xl_info_-n
+			-output-xl_dmesg)) {
 	my $re = $pat;
 	$re =~ s/^-/\Q$ho->{Name}\E-/;
 	push @re, "^$re\$";
diff --git a/ts-logs-capture b/ts-logs-capture
index 83234f6f..d16372f2 100755
--- a/ts-logs-capture
+++ b/ts-logs-capture
@@ -191,6 +191,7 @@  sub fetch_logs_host () {
 
     foreach my $cmd
         (
+         'xl dmesg',
          'xl info -n',
          'cat /proc/cpuinfo',
          'xl list',