summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRongguang Wei <weirongguang@kylinos.cn>2022-07-26 12:30:45 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-07-29 20:40:51 +0300
commit5eff8c18f124e47da0be79fb2b776e1c2cac0b07 (patch)
treeeea924fb22caecc8a815801ffd8338247afcda8f /tools/perf/scripts/python/exported-sql-viewer.py
parent58250ae350de8d28ce91ade4605d32c9e7f062a8 (diff)
downloadlinux-5eff8c18f124e47da0be79fb2b776e1c2cac0b07.tar.xz
bpftool: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE macro
Use the ARRAY_SIZE macro and make the code more compact. Signed-off-by: Rongguang Wei <weirongguang@kylinos.cn> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Quentin Monnet <quentin@isovalent.com> Link: https://lore.kernel.org/bpf/20220726093045.3374026-1-clementwei90@163.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions