Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is trace_netif_rx_entry function defined in Linux kernel?

in linux kernel source codes, net/core/dev.c, the function netif_rx() calls trace_netif_rx_entry():

int netif_rx(struct sk_buff *skb)
{
    trace_netif_rx_entry(skb);
    return netif_rx_internal(skb);
}

However, I searched via grep and could not find the definition of trace_netif_rx_entry in the source codes. Then I googled still no answer. Could anyone help ?

like image 779
Guocheng Avatar asked Mar 15 '26 07:03

Guocheng


1 Answers

I know the reason: a trick named Linux trace point

like image 150
Guocheng Avatar answered Mar 19 '26 08:03

Guocheng



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!