aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2013-05-20 14:44:43 +0000
committerDavid S. Miller <[email protected]>2013-05-22 22:10:10 +0000
commit140c3c6a2bcd2c31e2f7f5a8d59689724776c8e5 (patch)
tree4ba6a335f9376e73ce82b69919a7b86ad6dd849d /tools/perf/scripts/python/net_dropmonitor.py
parentnet: fec: use a more proper compatible string for MVF type device (diff)
downloadkernel-140c3c6a2bcd2c31e2f7f5a8d59689724776c8e5.tar.gz
kernel-140c3c6a2bcd2c31e2f7f5a8d59689724776c8e5.zip
perf: net_dropmonitor: Fix trace parameter order
This works much better if we don't treat protocol numbers as addresses. Cc: [email protected] Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
-rwxr-xr-xtools/perf/scripts/python/net_dropmonitor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/net_dropmonitor.py b/tools/perf/scripts/python/net_dropmonitor.py
index a4ffc9500023..adbfbf030576 100755
--- 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