summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMartin KaFai Lau <martin.lau@kernel.org>2023-03-08 09:59:30 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-03-10 22:05:29 +0300
commit7e30a8477b0bdd13dfd0b24e4f32b26d22b96e6c (patch)
tree1ba97166ccbcc9b294f4b53c810e8d54a519861b /tools/perf/scripts/python/flamegraph.py
parent1288aaa2786b1e58c9e88e53f7654d520ebe0f3b (diff)
downloadlinux-7e30a8477b0bdd13dfd0b24e4f32b26d22b96e6c.tar.xz
bpf: Add bpf_local_storage_free()
This patch refactors local_storage freeing logic into bpf_local_storage_free(). It is a preparation work for a later patch that uses bpf_mem_cache_alloc/free. The other kfree(local_storage) cases are also changed to bpf_local_storage_free(..., reuse_now = true). Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://lore.kernel.org/r/20230308065936.1550103-12-martin.lau@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions