projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b72b7
)
perf: net_dropmonitor: Fix trace parameter order
author
Ben Hutchings
<ben@decadent.org.uk>
Mon, 20 May 2013 14:44:43 +0000
(14:44 +0000)
committer
Ben Hutchings
<ben@decadent.org.uk>
Thu, 30 May 2013 13:35:04 +0000
(14:35 +0100)
commit
140c3c6a2bcd2c31e2f7f5a8d59689724776c8e5
upstream.
This works much better if we don't treat protocol numbers as addresses.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/perf/scripts/python/net_dropmonitor.py
patch
|
blob
|
history
diff --git
a/tools/perf/scripts/python/net_dropmonitor.py
b/tools/perf/scripts/python/net_dropmonitor.py
index a4ffc95000238cde8f086970f9d23d042ba99c59..adbfbf030576038d1a90d194ee22ebeaa6c8afcb 100755
(executable)
--- a/
tools/perf/scripts/python/net_dropmonitor.py
+++ b/
tools/perf/scripts/python/net_dropmonitor.py
@@
-64,7
+64,7
@@
def trace_end():
# called from perf, when it finds a correspoinding event
def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm,
-
skbaddr, protocol, location
):
+
skbaddr, location, protocol
):
slocation = str(location)
try:
drop_log[slocation] = drop_log[slocation] + 1