Blame SOURCES/sos-bz2011535-kernel-psi.patch

819553
From 23e523b6b9784390c7ce2c5af654ab497fb10aaf Mon Sep 17 00:00:00 2001
819553
From: Jose Castillo <jcastillo@redhat.com>
819553
Date: Wed, 8 Sep 2021 09:25:24 +0200
819553
Subject: [PATCH] [kernel] Capture Pressure Stall Information
819553
819553
Kernel 4.20 includes PSI metrics for CPU, memeory and IO.
819553
The feature is enabled after adding "psi=1" as
819553
kernel boot parameter.
819553
The information is captured in files
819553
in the directory /proc/pressure.
819553
819553
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
819553
---
819553
 sos/report/plugins/kernel.py | 3 ++-
819553
 1 file changed, 2 insertions(+), 1 deletion(-)
819553
819553
diff --git a/sos/report/plugins/kernel.py b/sos/report/plugins/kernel.py
819553
index 8c5e5e11..803f5e30 100644
819553
--- a/sos/report/plugins/kernel.py
819553
+++ b/sos/report/plugins/kernel.py
819553
@@ -112,7 +112,8 @@ class Kernel(Plugin, IndependentPlugin):
819553
             "/sys/kernel/debug/extfrag/unusable_index",
819553
             "/sys/kernel/debug/extfrag/extfrag_index",
819553
             clocksource_path + "available_clocksource",
819553
-            clocksource_path + "current_clocksource"
819553
+            clocksource_path + "current_clocksource",
819553
+            "/proc/pressure/"
819553
         ])
819553
 
819553
         if self.get_option("with-timer"):
819553
-- 
819553
2.31.1
819553