dd1b527831a3 ("net: add location to trace_consume_skb()") added a new parameter to the consume_skb tracepoint. Adapt the script to match.
Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all
Unified · Split
| @@ -293,7 +293,8 @@ def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, · 292 unmodified lines | ||
| 293 | 293 | skbaddr, location, protocol, reason) |
| 294 | 294 | all_event_list.append(event_info) |
| 295 | 295 | |
| 296 | −def skb__consume_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr): | |
| 296 | +def skb__consume_skb(name, context, cpu, sec, nsec, pid, comm, callchain, | |
| 297 | + skbaddr, location): | |
| 297 | 298 | event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, |
| 298 | 299 | skbaddr) |
| 299 | 300 | all_event_list.append(event_info) |