From e8075a5f4b03054cbbf5887fa8e4e8ba482fbc92 Mon Sep 17 00:00:00 2001 From: Mark Syms Date: Tue, 20 Jun 2023 10:17:25 +0100 Subject: [PATCH] CA-378768: capture block schedulers Signed-off-by: Mark Syms --- xen-bugtool | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen-bugtool b/xen-bugtool index 5e941313..e4bcb547 100755 --- a/xen-bugtool +++ b/xen-bugtool @@ -346,6 +346,7 @@ CAP_OEM = 'oem' CAP_PAM = 'pam' CAP_PROCESS_LIST = 'process-list' CAP_PERSISTENT_STATS = 'persistent-stats' +CAP_SCHEDULER = 'block-scheduler' CAP_SYSTEM_LOGS = 'system-logs' CAP_SYSTEM_SERVICES = 'system-services' CAP_TAPDISK_LOGS = 'tapdisk-logs' @@ -443,6 +444,8 @@ cap(CAP_XHA_LIVESET, PII_MAYBE, max_size=10*KB, max_time=10) cap(CAP_YUM, PII_IF_CUSTOMIZED, max_size=100*KB, max_time=30) +cap(CAP_SCHEDULER, PII_NO, max_size=100*KB, + max_time=30) ANSWER_YES_TO_ALL = False SILENT_MODE = False @@ -765,6 +768,7 @@ exclude those logs from the archive. cmd_output(CAP_DISK_INFO, [SG_MAP, '-x']) func_output(CAP_DISK_INFO, 'scsi-hosts', dump_scsi_hosts) cmd_output(CAP_DISK_INFO, [LVDISPLAY, '--map']) + cmd_output(CAP_SCHEDULER, ['lsblk', '-o', 'SCHED,NAME']) # mdadm information cmd_output(CAP_DISK_INFO, [MDADM, '--detail-platform'])