diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-05-20 18:44:43 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-23 02:10:10 +0400 |
commit | 140c3c6a2bcd2c31e2f7f5a8d59689724776c8e5 (patch) | |
tree | 4ba6a335f9376e73ce82b69919a7b86ad6dd849d /tools | |
parent | 3680354209dcdeb84671ad3740ef52ab754e05d0 (diff) | |
download | linux-140c3c6a2bcd2c31e2f7f5a8d59689724776c8e5.tar.xz |
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 |