Blame SOURCES/sos-bz1843754-powerpc-logs-for-components.patch

2ff1a5
From f7292b0121408a77d9e5ee94a046025c256cd021 Mon Sep 17 00:00:00 2001
2ff1a5
From: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
2ff1a5
Date: Wed, 20 May 2020 14:07:13 +0530
2ff1a5
Subject: [PATCH] [memory]:Add support to collect memory logs
2ff1a5
2ff1a5
This patch updates memory plugin to collect
2ff1a5
hugepage memory information
2ff1a5
2ff1a5
Resolves: #2078
2ff1a5
2ff1a5
Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
2ff1a5
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
2ff1a5
---
2ff1a5
 sos/plugins/memory.py | 3 ++-
2ff1a5
 1 file changed, 2 insertions(+), 1 deletion(-)
2ff1a5
2ff1a5
diff --git a/sos/plugins/memory.py b/sos/plugins/memory.py
2ff1a5
index aefb27b8..b358e44d 100644
2ff1a5
--- a/sos/plugins/memory.py
2ff1a5
+++ b/sos/plugins/memory.py
2ff1a5
@@ -27,7 +27,8 @@ class Memory(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin, CosPlugin):
2ff1a5
             "/proc/pagetypeinfo",
2ff1a5
             "/proc/vmallocinfo",
2ff1a5
             "/sys/kernel/mm/ksm",
2ff1a5
-            "/sys/kernel/mm/transparent_hugepage/enabled"
2ff1a5
+            "/sys/kernel/mm/transparent_hugepage/enabled",
2ff1a5
+            "/sys/kernel/mm/hugepages"
2ff1a5
         ])
2ff1a5
         self.add_cmd_output("free", root_symlink="free")
2ff1a5
         self.add_cmd_output([
2ff1a5
-- 
2ff1a5
2.26.2
2ff1a5
2ff1a5
From 2826d4ad19afaa91e2e25970eafe9353d844bfac Mon Sep 17 00:00:00 2001
2ff1a5
From: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
2ff1a5
Date: Wed, 20 May 2020 14:05:48 +0530
2ff1a5
Subject: [PATCH] [scsi]:Add support to collect scsi logs
2ff1a5
2ff1a5
This patch updates scsi plugin to collect
2ff1a5
virtual I/O server information.
2ff1a5
2ff1a5
This patch reads lspath, lsmap and lsnports data
2ff1a5
which provides information about virtual device
2ff1a5
path, ports and mapping Information
2ff1a5
2ff1a5
Related: #2078
2ff1a5
2ff1a5
Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
2ff1a5
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
2ff1a5
---
2ff1a5
 sos/plugins/scsi.py | 3 +++
2ff1a5
 1 file changed, 3 insertions(+)
2ff1a5
2ff1a5
diff --git a/sos/plugins/scsi.py b/sos/plugins/scsi.py
2ff1a5
index bf6c2862..7a8efabb 100644
2ff1a5
--- a/sos/plugins/scsi.py
2ff1a5
+++ b/sos/plugins/scsi.py
2ff1a5
@@ -30,6 +30,9 @@ class Scsi(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
2ff1a5
 
2ff1a5
         self.add_cmd_output("lsscsi -i", suggest_filename="lsscsi")
2ff1a5
         self.add_cmd_output("sg_map -x")
2ff1a5
+        self.add_cmd_output("lspath")
2ff1a5
+        self.add_cmd_output("lsmap -all")
2ff1a5
+        self.add_cmd_output("lsnports")
2ff1a5
 
2ff1a5
         scsi_hosts = glob("/sys/class/scsi_host/*")
2ff1a5
         self.add_udev_info(scsi_hosts, attrs=True)
2ff1a5
-- 
2ff1a5
2.26.2
2ff1a5
2ff1a5
From 56bfae87ee5e613bb6743026a7285320f19e66d5 Mon Sep 17 00:00:00 2001
2ff1a5
From: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
2ff1a5
Date: Wed, 20 May 2020 14:03:58 +0530
2ff1a5
Subject: [PATCH] [infiniband]:Add support to collect InfiniBand logs
2ff1a5
2ff1a5
This patch updates Infiniband plugin to collect
2ff1a5
InfiniBand switch node information.
2ff1a5
2ff1a5
Related: #2078
2ff1a5
2ff1a5
Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
2ff1a5
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
2ff1a5
---
2ff1a5
 sos/plugins/infiniband.py | 3 ++-
2ff1a5
 1 file changed, 2 insertions(+), 1 deletion(-)
2ff1a5
2ff1a5
diff --git a/sos/plugins/infiniband.py b/sos/plugins/infiniband.py
2ff1a5
index 83c32791..670f05b6 100644
2ff1a5
--- a/sos/plugins/infiniband.py
2ff1a5
+++ b/sos/plugins/infiniband.py
2ff1a5
@@ -33,7 +33,8 @@ class Infiniband(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
2ff1a5
             "ibv_devices",
2ff1a5
             "ibv_devinfo -v",
2ff1a5
             "ibstat",
2ff1a5
-            "ibstatus"
2ff1a5
+            "ibstatus",
2ff1a5
+            "ibswitches"
2ff1a5
         ])
2ff1a5
 
2ff1a5
         # run below commands for every IB device and its active port
2ff1a5
-- 
2ff1a5
2.26.2
2ff1a5
2ff1a5
From d8aa0a17d94ec08fc899fce3c343f25d19134eb3 Mon Sep 17 00:00:00 2001
2ff1a5
From: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
2ff1a5
Date: Wed, 20 May 2020 14:01:40 +0530
2ff1a5
Subject: [PATCH] [kdump]:Add support to collect kdump & fadump logs
2ff1a5
2ff1a5
This patch updates kdump plugin to collect kdump and
2ff1a5
fadump information.
2ff1a5
2ff1a5
In this patch we are reading, kdump configuration,panic
2ff1a5
and kexec_loaded files which are helpful to debug kdump
2ff1a5
failure issues
2ff1a5
2ff1a5
This patch also reads sys/kernel/fadump_enabled
2ff1a5
and /sys/kernel/fadump/enabled both files as there
2ff1a5
is upstream work to deprecate these files
2ff1a5
2ff1a5
Related: #2078
2ff1a5
2ff1a5
Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
2ff1a5
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
2ff1a5
---
2ff1a5
 sos/plugins/kdump.py | 9 +++++++++
2ff1a5
 1 file changed, 9 insertions(+)
2ff1a5
2ff1a5
diff --git a/sos/plugins/kdump.py b/sos/plugins/kdump.py
2ff1a5
index 5fc25a9b..41d08b5b 100644
2ff1a5
--- a/sos/plugins/kdump.py
2ff1a5
+++ b/sos/plugins/kdump.py
2ff1a5
@@ -21,6 +21,15 @@ class KDump(Plugin):
2ff1a5
     def setup(self):
2ff1a5
         self.add_copy_spec([
2ff1a5
             "/proc/cmdline",
2ff1a5
+            "/etc/sysconfig/kdump",
2ff1a5
+            "/proc/sys/kernel/panic",
2ff1a5
+            "/proc/sys/kernel/panic_on_oops",
2ff1a5
+            "/sys/kernel/kexec_loaded",
2ff1a5
+            "/sys/kernel/fadump_enabled",
2ff1a5
+            "/sys/kernel/fadump/enabled",
2ff1a5
+            "/sys/kernel/fadump_registered",
2ff1a5
+            "/sys/kernel/fadump/registered",
2ff1a5
+            "/sys/kernel/fadump/mem_reserved",
2ff1a5
             "/sys/kernel/kexec_crash_loaded",
2ff1a5
             "/sys/kernel/kexec_crash_size"
2ff1a5
         ])
2ff1a5
-- 
2ff1a5
2.26.2
2ff1a5