aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLuke Nelson <[email protected]>2020-05-05 17:03:18 -0700
committerDaniel Borkmann <[email protected]>2020-05-06 09:48:15 +0200
commit21a099abb765c3754689e1f7ca4536fa560112d0 (patch)
treec6d2bc71c49617d48dd2d01a93821de4d6162349 /tools/perf/scripts/python/syscall-counts.py
parent0224b2acea0f9e3908d33e27b2dcb4e04686e997 (diff)
bpf, riscv: Optimize FROM_LE using verifier_zext on RV64
This patch adds two optimizations for BPF_ALU BPF_END BPF_FROM_LE in the RV64 BPF JIT. First, it enables the verifier zero-extension optimization to avoid zero extension when imm == 32. Second, it avoids generating code for imm == 64, since it is equivalent to a no-op. Co-developed-by: Xi Wang <[email protected]> Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Luke Nelson <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Björn Töpel <[email protected]> Acked-by: Björn Töpel <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions