aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorPuranjay Mohan <[email protected]>2023-09-07 23:05:46 +0000
committerAlexei Starovoitov <[email protected]>2023-09-15 17:16:56 -0700
commit5097faa559a6097de436bdff4027d036b5493d1a (patch)
treefe565681ff56586026d3d1a45eac6b7a330c70eb /tools/perf/scripts/python/syscall-counts-by-pid.py
parent1cfb7eaebeac9270fcb527f47bbdea34ca3cd5b2 (diff)
arm32, bpf: add support for 32-bit signed division
The cpuv4 added a new BPF_SDIV instruction that does signed division. The encoding is similar to BPF_DIV but BPF_SDIV sets offset=1. ARM32 already supports 32-bit BPF_DIV which can be easily extended to support BPF_SDIV as ARM32 has the SDIV instruction. When the CPU is not ARM-v7, we implement that SDIV/SMOD with the function call similar to the implementation of DIV/MOD. Signed-off-by: Puranjay Mohan <[email protected]> Reviewed-by: Russell King (Oracle) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions