diff options
Diffstat (limited to 'tools/perf/scripts/python/bin/netdev-times-record')
| -rw-r--r-- | tools/perf/scripts/python/bin/netdev-times-record | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/tools/perf/scripts/python/bin/netdev-times-record b/tools/perf/scripts/python/bin/netdev-times-record new file mode 100644 index 000000000000..558754b840a9 --- /dev/null +++ b/tools/perf/scripts/python/bin/netdev-times-record @@ -0,0 +1,8 @@ +#!/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 $@ | 
