diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-05-20 14:44:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-22 15:10:10 -0700 |
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(): # 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 |