Thread (9 messages) flat view 9 messages, 4 authors, 2022-10-28

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

From: imagedong (董梦龙) <hidden>
Date: 2022-10-28 02:37:52
Also in: lkml

On 2022/10/28 00:29,“Eric Dumazet”[off-list ref] write:

On Thu, Oct 27, 2022 at 8:43 AM Steven Rostedt [off-list ref] wrote:
quoted
On Thu, 27 Oct 2022 08:32:02 -0700
Eric Dumazet [off-list ref] wrote:
quoted
This seems broken again (tried on latest net-next tree)

perf script
Do you also have the latest perf and the latest libtraceevent installed?
I tried a more recent perf binary we have, but it is also not right.

I guess I will have to request a new perf binary at Google :/
Ennn...I just have a try, and it seems fine:

sudo perf script
         swapper     0 [049] 401460.138078: skb:kfree_skb: skbaddr=0xffff8881076d2400 protocol=2048 location=0xffffffff81d86546 reason: TCP_INVALID_SEQUENCE
              nc 429418 [006] 401465.652282: skb:kfree_skb: skbaddr=0xffff8881ea66cf00 protocol=0 location=0xffffffff81e0b48f reason: NOT_SPECIFIED
              nc 429418 [006] 401465.652293: skb:kfree_skb: skbaddr=0xffff8881ea66cf00 protocol=0 location=0xffffffff81e0b48f reason: NOT_SPECIFIED
              nc 429418 [006] 401465.652538: skb:kfree_skb: skbaddr=0xffff888133c014e8 protocol=2048 location=0xffffffff81d983a1 reason: NO_SOCKET

The version of the perf I used is 6.0.3-1:

  sudo apt info linux-perf
  Package: linux-perf
  Version: 6.0.3-1


Thanks!
Menglong Dong
perf5 script
         swapper     0 [030]  4147.704606: skb:kfree_skb: [UNKNOWN EVENT]
 kworker/30:1-ev   308 [030]  4147.704615: skb:kfree_skb: [UNKNOWN EVENT]
         swapper     0 [030]  4148.048173: skb:kfree_skb: [UNKNOWN EVENT]
 kworker/30:1-ev   308 [030]  4148.048179: skb:kfree_skb: [UNKNOWN EVENT]
         swapper     0 [008]  4148.048773: skb:kfree_skb: [UNKNOWN EVENT]
         swapper     0 [030]  4148.112271: skb:kfree_skb: [UNKNOWN EVENT]
 kworker/30:1-ev   308 [030]  4148.112280: skb:kfree_skb: [UNKNOWN EVENT]
         swapper     0 [030]  4148.720149: skb:kfree_skb: [UNKNOWN EVENT]
 kworker/30:1-ev   308 [030]  4148.720155: skb:kfree_skb: [UNKNOWN EVENT]
         swapper     0 [030]  4149.072141: skb:kfree_skb: [UNKNOWN EVENT]
 kworker/30:1-ev   308 [030]  4149.072149: skb:kfree_skb: [UNKNOWN EVENT]
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help