naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
c8e1db
From 50763d53310c1f95bd846ce9961d40e0e0e66376 Mon Sep 17 00:00:00 2001
c8e1db
From: Quentin Deslandes <qde@naccy.de>
c8e1db
Date: Wed, 21 Feb 2024 16:16:21 +0100
c8e1db
Subject: [PATCH] ss: update man page to document --bpf-maps and --bpf-map-id=
c8e1db
c8e1db
Document new --bpf-maps and --bpf-map-id= options.
c8e1db
c8e1db
Signed-off-by: Quentin Deslandes <qde@naccy.de>
c8e1db
Acked-by: Martin KaFai Lau <martin.lau@kernel.org>
c8e1db
Signed-off-by: David Ahern <dsahern@kernel.org>
c8e1db
---
c8e1db
 man/man8/ss.8 | 6 ++++++
c8e1db
 1 file changed, 6 insertions(+)
c8e1db
c8e1db
diff --git a/man/man8/ss.8 b/man/man8/ss.8
c8e1db
index b014cde1..e23af826 100644
c8e1db
--- a/man/man8/ss.8
c8e1db
+++ b/man/man8/ss.8
c8e1db
@@ -426,6 +426,12 @@ to FILE after applying filters. If FILE is - stdout is used.
c8e1db
 Read filter information from FILE.  Each line of FILE is interpreted
c8e1db
 like single command line option. If FILE is - stdin is used.
c8e1db
 .TP
c8e1db
+.B \-\-bpf-maps
c8e1db
+Pretty-print all the BPF socket-local data entries for each socket.
c8e1db
+.TP
c8e1db
+.B \-\-bpf-map-id=MAP_ID
c8e1db
+Pretty-print the BPF socket-local data entries for the requested map ID. Can be used more than once.
c8e1db
+.TP
c8e1db
 .B FILTER := [ state STATE-FILTER ] [ EXPRESSION ]
c8e1db
 Please take a look at the official documentation for details regarding filters.
c8e1db
 
c8e1db
-- 
c8e1db
2.41.0
c8e1db