diff options
author | Mykyta Yatsenko <yatsenko@meta.com> | 2025-03-03 13:57:49 +0000 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-03-15 11:48:27 -0700 |
commit | 6ef78c41911d34f02e26529a3ce3183589db4b82 (patch) | |
tree | 538b58e95ab1366e02d448fcf9a0bc762b9995b0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 19856a524729435dac4fa93421b2f0920c89a4b2 (diff) |
libbpf: Use map_is_created helper in map setters
Refactoring: use map_is_created helper in map setters that need to check
the state of the map. This helps to reduce the number of the places that
depend explicitly on the loaded flag, simplifying refactoring in the
next patch of this set.
Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250303135752.158343-2-mykyta.yatsenko5@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions