diff options
author | Yan Zhai <[email protected]> | 2024-06-17 11:09:04 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-06-19 12:44:22 +0100 |
commit | c53795d48ee8f385c6a9e394651e7ee914baaeba (patch) | |
tree | 87256aafb7ba058f39f10dca3ee7118926769d44 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 6f46fc9bc2bda2254189f547110b9e87e5f100f2 (diff) |
net: add rx_sk to trace_kfree_skb
skb does not include enough information to find out receiving
sockets/services and netns/containers on packet drops. In theory
skb->dev tells about netns, but it can get cleared/reused, e.g. by TCP
stack for OOO packet lookup. Similarly, skb->sk often identifies a local
sender, and tells nothing about a receiver.
Allow passing an extra receiving socket to the tracepoint to improve
the visibility on receiving drops.
Signed-off-by: Yan Zhai <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions