aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2022-01-05 22:35:27 +0100
committerJake Hunsaker <jhunsake@redhat.com>2022-01-05 17:56:45 -0500
commit41d0e3cc4119d28f8607c46e83a659b58da7aee2 (patch)
treef382ef9cfa1e301b3acb47aeb659362aa433a56f
parent10db69ae0468c56cf23a1d4585d860e657fdc37c (diff)
downloadsos-41d0e3cc4119d28f8607c46e83a659b58da7aee2.tar.gz
[networking] Enhance ss_pred by xsk_diag kmod
'ss -peaonmi' does require also xsk_diag kmod that must be added to the list of kmod predicates of the ss command. Resolves: #2818 Related: #2816 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/report/plugins/networking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/report/plugins/networking.py b/sos/report/plugins/networking.py
index bcb5e6ae..8b7f8ee9 100644
--- a/sos/report/plugins/networking.py
+++ b/sos/report/plugins/networking.py
@@ -134,7 +134,7 @@ class Networking(Plugin):
ss_cmd = "ss -peaonmi"
ss_pred = SoSPredicate(self, kmods=[
'tcp_diag', 'udp_diag', 'inet_diag', 'unix_diag', 'netlink_diag',
- 'af_packet_diag'
+ 'af_packet_diag', 'xsk_diag'
], required={'kmods': 'all'})
self.add_cmd_output(ss_cmd, pred=ss_pred, changes=True)