diff options
author | 2024-09-03 15:25:59 +0800 | |
---|---|---|
committer | 2024-09-04 12:58:46 -0700 | |
commit | 23457b37ec3f9bb373d43cca61db371303726a1e (patch) | |
tree | b26b9769bd65c527e17aa2b77d645278bfde6af8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'bpf-follow-up-on-gen_epilogue' (diff) | |
download | wireguard-linux-23457b37ec3f9bb373d43cca61db371303726a1e.tar.xz wireguard-linux-23457b37ec3f9bb373d43cca61db371303726a1e.zip |
selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
The ARRAY_SIZE macro is more compact and more formal in linux source.
Signed-off-by: Feng Yang <yangfeng@kylinos.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240903072559.292607-1-yangfeng59949@163.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions