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

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