History

perf: net_dropmonitor: Fix trace parameter order

This works much better if we don't treat protocol numbers as addresses.

Ben Hutchings committed 13 years ago

Commit 140c3c61 parent 36803541 file · +1 −1Browse files

Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all

Unified · Split

tools/perf/scripts/python/net_dropmonitor.py+1−1
@@ -64,7 +64,7 @@ def trace_end(): · 63 unmodified lines
6464
6565 # called from perf, when it finds a correspoinding event
6666 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm,
67− skbaddr, protocol, location):
67+ skbaddr, location, protocol):
6868 slocation = str(location)
6969 try:
7070 drop_log[slocation] = drop_log[slocation] + 1