Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211812
b: refs/heads/master
c: 359d510
h: refs/heads/master
v: v3
  • Loading branch information
Koki Sanagi authored and Frederic Weisbecker committed Sep 7, 2010
1 parent 1d5cafe commit 11e1c76
Show file tree
Hide file tree
Showing 4 changed files with 478 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 07dc22e7295f25526f110d704655ff0ea7687420
refs/heads/master: 359d5106a2ff4ffa2ba129ec8f54743c341dabfc
8 changes: 8 additions & 0 deletions trunk/tools/perf/scripts/python/bin/netdev-times-record
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
perf record -a -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 $@
5 changes: 5 additions & 0 deletions trunk/tools/perf/scripts/python/bin/netdev-times-report
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
# description: display a process of packet and processing time
# args: [tx] [rx] [dev=] [debug]

perf trace -s ~/libexec/perf-core/scripts/python/netdev-times.py $@
Loading

0 comments on commit 11e1c76

Please sign in to comment.