aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMenglong Dong <[email protected]>2022-02-09 14:08:38 +0800
committerJakub Kicinski <[email protected]>2022-02-09 17:25:57 -0800
commit5cad527d5ffa9a1c4731bb9c97d2ee93f8960d50 (patch)
tree717ff6666dd2d40c0153ac9dbb97fcdfaa4cac89 /tools/perf/scripts/python/net_dropmonitor.py
parent1710b52d7c135e83ee00ed38afacc1079cbe71f5 (diff)
net: drop_monitor: support drop reason
In the commit c504e5c2f964 ("net: skb: introduce kfree_skb_reason()") drop reason is introduced to the tracepoint of kfree_skb. Therefore, drop_monitor is able to report the drop reason to users by netlink. The drop reasons are reported as string to users, which is exactly the same as what we do when reporting it to ftrace. Signed-off-by: Menglong Dong <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Reviewed-by: David Ahern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions