diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-05-20 10:44:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-22 18:10:10 -0400 |
commit | 140c3c6a2bcd2c31e2f7f5a8d59689724776c8e5 (patch) | |
tree | 4ba6a335f9376e73ce82b69919a7b86ad6dd849d /tools | |
parent | 3680354209dcdeb84671ad3740ef52ab754e05d0 (diff) |
perf: net_dropmonitor: Fix trace parameter order
This works much better if we don't treat protocol numbers as addresses.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/perf/scripts/python/net_dropmonitor.py | 2 |
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(): | |||
64 | 64 | ||
65 | # called from perf, when it finds a correspoinding event | 65 | # called from perf, when it finds a correspoinding event |
66 | def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, | 66 | def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, |
67 | skbaddr, protocol, location): | 67 | skbaddr, location, protocol): |
68 | slocation = str(location) | 68 | slocation = str(location) |
69 | try: | 69 | try: |
70 | drop_log[slocation] = drop_log[slocation] + 1 | 70 | drop_log[slocation] = drop_log[slocation] + 1 |