aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <[email protected]>2019-11-21 14:36:12 +0100
committerAlexei Starovoitov <[email protected]>2019-11-24 16:58:46 -0800
commit071cdecec57fb5d5df78e6a12114ad7bccea5b0e (patch)
tree6280415744ee6ce2e137d8d90262b20de7f6184f /tools/perf/scripts/python/stackcollapse.py
parent1f60750401c7672419e1b606e2b73727c1f8626c (diff)
xdp: Fix cleanup on map free for devmap_hash map type
Tetsuo pointed out that it was not only the device unregister hook that was broken for devmap_hash types, it was also cleanup on map free. So better fix this as well. While we're at it, there's no reason to allocate the netdev_map array for DEVMAP_HASH, so skip that and adjust the cost accordingly. Fixes: 6f9d451ab1a3 ("xdp: Add devmap_hash map type for looking up devices by hashed index") Reported-by: Tetsuo Handa <[email protected]> Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions