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>
This commit is contained in:

committed by
David S. Miller

parent
3680354209
commit
140c3c6a2b
@@ -64,7 +64,7 @@ def trace_end():
|
|||||||
|
|
||||||
# called from perf, when it finds a correspoinding event
|
# called from perf, when it finds a correspoinding event
|
||||||
def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm,
|
def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm,
|
||||||
skbaddr, protocol, location):
|
skbaddr, location, protocol):
|
||||||
slocation = str(location)
|
slocation = str(location)
|
||||||
try:
|
try:
|
||||||
drop_log[slocation] = drop_log[slocation] + 1
|
drop_log[slocation] = drop_log[slocation] + 1
|
||||||
|
Reference in New Issue
Block a user