diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-05-20 16:44:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-23 00:10:10 +0200 |
commit | 140c3c6a2bcd2c31e2f7f5a8d59689724776c8e5 (patch) | |
tree | 4ba6a335f9376e73ce82b69919a7b86ad6dd849d /tools | |
parent | net: fec: use a more proper compatible string for MVF type device (diff) | |
download | linux-140c3c6a2bcd2c31e2f7f5a8d59689724776c8e5.tar.xz linux-140c3c6a2bcd2c31e2f7f5a8d59689724776c8e5.zip |
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 |