summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPuranjay Mohan <puranjay12@gmail.com>2023-09-07 23:05:45 +0000
committerAlexei Starovoitov <ast@kernel.org>2023-09-15 17:16:56 -0700
commit1cfb7eaebeac9270fcb527f47bbdea34ca3cd5b2 (patch)
treebeb7d8d689f669b5eb31d4e24dd55612ea7c0402 /tools/perf/scripts/python/export-to-sqlite.py
parentfc832653fa0dba174bf8fee9db85f3f9d1450b8a (diff)
arm32, bpf: add support for unconditional bswap instruction
The cpuv4 added a new unconditional bswap instruction with following behaviour: BPF_ALU64 | BPF_TO_LE | BPF_END with imm = 16/32/64 means: dst = bswap16(dst) dst = bswap32(dst) dst = bswap64(dst) As we already support converting to big-endian from little-endian we can use the same for unconditional bswap. just treat the unconditional scenario the same as big-endian conversion. Signed-off-by: Puranjay Mohan <puranjay12@gmail.com> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://lore.kernel.org/r/20230907230550.1417590-5-puranjay12@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions