Thread (7 messages) 7 messages, 3 authors, 14d ago

Re: [PATCH v7 3/4] net: dropreason: use new __print_sym() in tracing

flat view

From: Aaron Conole <aconole@redhat.com>
Date: 2026-09-28 13:34:52
Also in: linux-trace-kernel, lkml

Johannes Berg [off-list ref] writes:
From: Johannes Berg <redacted>

The __print_symbolic() could only ever print the core
drop reasons, since that's the way the infrastructure
works. Now that we have __print_sym() with all the
advantages mentioned in that commit, convert to that
and get all the drop reasons from all subsystems. As
we already have a list of them, that's really easy.

This is a little bit of .text (~100 bytes in my build)
and saves a lot of .data (~17k).

Signed-off-by: Johannes Berg <redacted>
---
v7: update the selftest accordingly
Sorry for the late reply - this series was caught in a Spam filter for
some reason.
---
[ ... ]
quoted hunk ↗ jump to hunk
diff --git a/tools/testing/selftests/net/openvswitch/openvswitch.sh b/tools/testing/selftests/net/openvswitch/openvswitch.sh
index a31f7fb6882d..9b8edfcd2d1a 100755
--- a/tools/testing/selftests/net/openvswitch/openvswitch.sh
+++ b/tools/testing/selftests/net/openvswitch/openvswitch.sh
@@ -234,7 +234,7 @@ ovs_drop_reason_count()
For the OVS part (also nice to see the line count reduction) -

Reviewed-by: Aaron Conole <aconole@redhat.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help