diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2022-01-05 22:35:27 +0100 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2022-01-05 17:56:45 -0500 |
commit | 41d0e3cc4119d28f8607c46e83a659b58da7aee2 (patch) | |
tree | f382ef9cfa1e301b3acb47aeb659362aa433a56f | |
parent | 10db69ae0468c56cf23a1d4585d860e657fdc37c (diff) | |
download | sos-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.py | 2 |
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) |