summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJordan Niethe <jniethe5@gmail.com>2021-06-09 11:34:27 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-21 21:13:20 +1000
commitbc33cfdb0bb84d9e4b125a617a437c29ddcac4d9 (patch)
treeb3facba23aa2622227a98232bca566aa951ffc0d /tools/perf/scripts/python/net_dropmonitor.py
parent6a3a58e6230dc5b646ce3511436d7e74fc7f764b (diff)
downloadcachepc-linux-bc33cfdb0bb84d9e4b125a617a437c29ddcac4d9.tar.gz
cachepc-linux-bc33cfdb0bb84d9e4b125a617a437c29ddcac4d9.zip
powerpc/bpf: Remove bpf_jit_free()
Commit 74451e66d516 ("bpf: make jited programs visible in traces") added a default bpf_jit_free() implementation. Powerpc did not use the default bpf_jit_free() as powerpc did not set the images read-only. The default bpf_jit_free() called bpf_jit_binary_unlock_ro() is why it could not be used for powerpc. Commit d53d2f78cead ("bpf: Use vmalloc special flag") moved keeping track of read-only memory to vmalloc. This included removing bpf_jit_binary_unlock_ro(). Therefore there is no reason powerpc needs its own bpf_jit_free(). Remove it. Signed-off-by: Jordan Niethe <jniethe5@gmail.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210609013431.9805-6-jniethe5@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions