diff options
author | 2024-10-11 10:00:21 -0700 | |
---|---|---|
committer | 2024-10-11 12:36:59 -0700 | |
commit | 989a29cfed9b5092c3e18be14e9032c51bb1c9f6 (patch) | |
tree | 8818399908e15c621e83e878f526e93417066c2c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | selftests/bpf: Check for timeout in perf_link test (diff) | |
download | wireguard-linux-989a29cfed9b5092c3e18be14e9032c51bb1c9f6.tar.xz wireguard-linux-989a29cfed9b5092c3e18be14e9032c51bb1c9f6.zip |
libbpf: Fix possible compiler warnings in hashmap
The hashmap__for_each_entry[_safe] is accessing 'map' as a pointer.
But it does without parentheses so passing a static hash map with an
ampersand (like '&slab_hash') will cause compiler warnings due
to unmatched types as '->' operator has a higher precedence.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241011170021.1490836-1-namhyung@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions