diff options
author | Kamalesh Babulal <kamalesh@linux.ibm.com> | 2019-09-24 18:31:49 +0530 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-10-08 15:26:56 +0100 |
commit | 4a3b32d7858627d927c721780b0007f1db16c7ea (patch) | |
tree | 2b114b1379e1bd864dbc9da4a0c68b85721c4158 | |
parent | 4830d4a6937e17217a6391b553c1c8d0addfbc27 (diff) | |
download | sos-4a3b32d7858627d927c721780b0007f1db16c7ea.tar.gz |
[kernel] Add collection of livepatch information
Kernel livepatch support is available since, kernel version v4.0.
Collect information relating to livepatch available under the path
/sys/kernel/livepatch/. Each of the subdirectories following the path
is a kernel livepatching module and hosts the information about the
current patching state of the functions to be livepatched by the
module.
Resolves: #1794
Signed-off-by: Kamalesh Babulal <kamalesh@linux.ibm.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/kernel.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py index b498f55e..0d8689e3 100644 --- a/sos/plugins/kernel.py +++ b/sos/plugins/kernel.py @@ -110,6 +110,7 @@ class Kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/sys/module/*/version", "/sys/firmware/acpi/*", "/sys/kernel/debug/tracing/*", + "/sys/kernel/livepatch/*", "/proc/kallsyms", "/proc/buddyinfo", "/proc/slabinfo", |