summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorMartin KaFai Lau <martin.lau@kernel.org>2023-03-08 09:59:28 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-03-10 22:05:28 +0300
commitc0d63f309186d8492577c67c67984c714b6b72bc (patch)
tree919f1b1a238296e5020be2a9356551225bc6428b /tools/perf/scripts/python/check-perf-trace.py
parentf8ccf30c179ec1ac16654f6e6ceb40cce1530b91 (diff)
downloadlinux-c0d63f309186d8492577c67c67984c714b6b72bc.tar.xz
bpf: Add bpf_selem_free()
This patch refactors the selem freeing logic into bpf_selem_free(). It is a preparation work for a later patch using bpf_mem_cache_alloc/free. The other kfree(selem) cases are also changed to bpf_selem_free(..., reuse_now = true). Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://lore.kernel.org/r/20230308065936.1550103-10-martin.lau@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions