mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Including -a unconditionally when recording doesn't allow for the option of running scripts without it. Future patches will add add it back if needed at run-time. Signed-off-by: Tom Zanussi <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]>
9 lines
334 B
Bash
9 lines
334 B
Bash
#!/bin/bash
|
|
perf record -e net:net_dev_xmit -e net:net_dev_queue \
|
|
-e net:netif_receive_skb -e net:netif_rx \
|
|
-e skb:consume_skb -e skb:kfree_skb \
|
|
-e skb:skb_copy_datagram_iovec -e napi:napi_poll \
|
|
-e irq:irq_handler_entry -e irq:irq_handler_exit \
|
|
-e irq:softirq_entry -e irq:softirq_exit \
|
|
-e irq:softirq_raise $@
|