naccyde / rpms / iproute

Forked from rpms/iproute 5 months ago
Clone

Blame 0003-ss-update-man-page-to-document-bpf-maps-and-bpf-map-.patch

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