diff options
author | Feng Yang <yangfeng@kylinos.cn> | 2024-09-03 15:25:59 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-09-04 12:58:46 -0700 |
commit | 23457b37ec3f9bb373d43cca61db371303726a1e (patch) | |
tree | b26b9769bd65c527e17aa2b77d645278bfde6af8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6fee7a7e9ad8613251d74472fb5bd2c6464f234a (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions