diff options
author | 2024-01-03 17:38:40 -0800 | |
---|---|---|
committer | 2024-01-03 21:22:49 -0800 | |
commit | fa98b54bff39f51c46fc96d3385c6292391c277b (patch) | |
tree | e044d275ee39e66f4c4724a3f92476a08326082f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libbpf: make uniform use of btf__fd() accessor inside libbpf (diff) | |
download | wireguard-linux-fa98b54bff39f51c46fc96d3385c6292391c277b.tar.xz wireguard-linux-fa98b54bff39f51c46fc96d3385c6292391c277b.zip |
libbpf: use explicit map reuse flag to skip map creation steps
Instead of inferring whether map already point to previously
created/pinned BPF map (which user can specify with bpf_map__reuse_fd()) API),
use explicit map->reused flag that is set in such case.
Acked-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240104013847.3875810-3-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions