selftests: drv-net: Strip '@' prefix from bpftrace map keys
authorBreno Leitao <leitao@debian.org>
Mon, 14 Jul 2025 09:56:49 +0000 (02:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Jul 2025 00:25:49 +0000 (17:25 -0700)
commitfd2aadcefbacb4425f54c252ec9cfb8218548eb9
tree8358bc514d6c72e5aad4e7c6a2372c9f9270a38a
parent3c561c547c396038c7690645cff4f98181c62d49
selftests: drv-net: Strip '@' prefix from bpftrace map keys

The '@' prefix in bpftrace map keys is specific to bpftrace and can be
safely removed when processing results. This patch modifies the bpftrace
utility to strip the '@' from map keys before storing them in the result
dictionary, making the keys more consistent with Python conventions.

Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20250714-netpoll_test-v7-2-c0220cfaa63e@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/lib/py/utils.py