This works much better if we don't treat protocol numbers as addresses.
Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all
Unified · Split
| @@ -64,7 +64,7 @@ def trace_end(): · 63 unmodified lines | ||
| 64 | 64 | |
| 65 | 65 | # called from perf, when it finds a correspoinding event |
| 66 | 66 | def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, |
| 67 | − skbaddr, protocol, location): | |
| 67 | + skbaddr, location, protocol): | |
| 68 | 68 | slocation = str(location) |
| 69 | 69 | try: |
| 70 | 70 | drop_log[slocation] = drop_log[slocation] + 1 |