diff options
| author | Martin KaFai Lau <martin.lau@kernel.org> | 2023-03-08 09:59:30 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-10 22:05:29 +0300 |
| commit | 7e30a8477b0bdd13dfd0b24e4f32b26d22b96e6c (patch) | |
| tree | 1ba97166ccbcc9b294f4b53c810e8d54a519861b /tools/perf/scripts/python/flamegraph.py | |
| parent | 1288aaa2786b1e58c9e88e53f7654d520ebe0f3b (diff) | |
| download | linux-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
