diff options
author | Menglong Dong <imagedong@tencent.com> | 2022-02-09 07:08:38 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-10 02:25:57 +0100 |
commit | 5cad527d5ffa9a1c4731bb9c97d2ee93f8960d50 (patch) | |
tree | 717ff6666dd2d40c0153ac9dbb97fcdfaa4cac89 /tools/bpf | |
parent | net: usb: smsc95xx: add generic selftest support (diff) | |
download | linux-5cad527d5ffa9a1c4731bb9c97d2ee93f8960d50.tar.xz linux-5cad527d5ffa9a1c4731bb9c97d2ee93f8960d50.zip |
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 <imagedong@tencent.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20220209060838.55513-1-imagedong@tencent.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions