aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLuke Nelson <[email protected]>2020-05-05 17:03:19 -0700
committerDaniel Borkmann <[email protected]>2020-05-06 09:48:15 +0200
commitca349a6a104e58479defdc08ce56472a48f7cb81 (patch)
treed597679f49d864c875930ea34c87350d7b230e88 /tools/perf/scripts/python/exported-sql-viewer.py
parent21a099abb765c3754689e1f7ca4536fa560112d0 (diff)
bpf, riscv: Optimize BPF_JMP BPF_K when imm == 0 on RV64
This patch adds an optimization to BPF_JMP (32- and 64-bit) BPF_K for when the BPF immediate is zero. When the immediate is zero, the code can directly use the RISC-V zero register instead of loading a zero immediate to a temporary register first. 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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions