We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e20f43 commit 69b0e11Copy full SHA for 69b0e11
tools/perf/scripts/python/net_dropmonitor.py
@@ -68,9 +68,9 @@ def trace_end():
68
get_kallsyms_table()
69
print_drop_table()
70
71
-# called from perf, when it finds a correspoinding event
+# called from perf, when it finds a corresponding event
72
def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain,
73
- skbaddr, location, protocol):
+ skbaddr, location, protocol, reason):
74
slocation = str(location)
75
try:
76
drop_log[slocation] = drop_log[slocation] + 1
tools/perf/scripts/python/netdev-times.py
@@ -288,9 +288,9 @@ def net__net_dev_xmit(name, context, cpu, sec, nsec, pid, comm, callchain,
288
all_event_list.append(event_info)
289
290
291
- skbaddr, protocol, location):
292
event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm,
293
- skbaddr, protocol, location)
+ skbaddr, location, protocol, reason)
294
295
296
def skb__consume_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr):
@@ -430,7 +430,7 @@ def handle_net_dev_xmit(event_info):
430
431
def handle_kfree_skb(event_info):
432
(name, context, cpu, time, pid, comm,
433
- skbaddr, protocol, location) = event_info
+ skbaddr, location, protocol, reason) = event_info
434
for i in range(len(tx_queue_list)):
435
skb = tx_queue_list[i]
436
if skb['skbaddr'] == skbaddr:
0 commit comments