1 #!/bin/bash 2 perf record -e net:net_dev_xmit -e net:net_dev_queue \ 3 -e net:netif_receive_skb -e net:netif_rx \ 4 -e skb:consume_skb -e skb:kfree_skb \ 5 -e skb:skb_copy_datagram_iovec -e napi:napi_poll \ 6 -e irq:irq_handler_entry -e irq:irq_handler_exit \ 7 -e irq:softirq_entry -e irq:softirq_exit \ 8 -e irq:softirq_raise $@ 9