Re: [PATCH net-next v2] net: skb: export skb drop reaons to user by TRACE_DEFINE_ENUM

From: Steven Rostedt
Date: Thu Oct 27 2022 - 11:44:05 EST


On Thu, 27 Oct 2022 08:32:02 -0700
Eric Dumazet <edumazet@xxxxxxxxxx> wrote:

> This seems broken again (tried on latest net-next tree)
>
> perf script

Do you also have the latest perf and the latest libtraceevent installed?

-- Steve

> sshd 12192 [006] 200.090602: skb:kfree_skb:
> skbaddr=0x2fa000400000 protocol=7844 location=0x2fa000001ea4 reason:
> swapper 0 [030] 200.497468: skb:kfree_skb:
> skbaddr=0xba00400001 protocol=65535 location=0x9080c62800000000
> reason:
> kworker/30:1-ev 308 [030] 200.497476: skb:kfree_skb:
> skbaddr=0xba00400001 protocol=65535 location=0x9080c62800000000
> reason:
> swapper 0 [009] 200.957881: skb:kfree_skb:
> skbaddr=0x2fa400400000 protocol=12195 location=0x2fa400002fa3 reason:
> swapper 0 [026] 201.515769: skb:kfree_skb:
> skbaddr=0xb600400001 protocol=65535 location=0x9080c62800000000
> reason:
> kworker/26:1-mm 276 [026] 201.515797: skb:kfree_skb:
> skbaddr=0xb600400001 protocol=65535 location=0x9080c62800000000
> reason:
> kworker/26:1-mm 276 [026] 201.515802: skb:kfree_skb:
> skbaddr=0x2f9f00400000 protocol=12189 location=0x2f9f00002f9d reason:
> swapper 0 [030] 201.521484: skb:kfree_skb:
> skbaddr=0xba00400001 protocol=65535 location=0x9080c62800000000
> reason:
> kworker/30:1-ev 308 [030] 201.521491: skb:kfree_skb:
> skbaddr=0x2fa100400000 protocol=12192 location=0x2fa100002fa0 reason: