summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorEduard Zingerman <eddyz87@gmail.com>2026-08-07 13:59:35 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2026-08-08 11:06:20 +0200
commitbe4f8d6f2ff7afe31bd481e004b216bcb3fa6707 (patch)
tree82e86a55941ffa3715631f76da1985218bc83973 /tools/perf/scripts/python/export-to-sqlite.py
parent7ce090afbf725e25fff29caacce1eaf8459b1117 (diff)
bpf: Simplify the bpf_is_reg64()
After the previous commit bpf_is_reg64() is only used in a context where destination register's property is queried, and only for instructions for which insn_def_regno() >= 0. Hence, simplify the function by: - removing unused parameters; - removing code paths considering BPF_JMP{,32} instructions; - streamlining the condition expressions. Signed-off-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20260807-static-zext-v4-6-b6c270013c77@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions