summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMagnus Lindholm <linmag7@gmail.com>2026-10-10 15:42:00 +0200
committerMagnus Lindholm <linmag7@gmail.com>2026-10-18 00:44:45 +0200
commitb9fad53a62776359d3bb607bd0ba66e37d198260 (patch)
tree41f1737f9ff04c0b3ed2b1a348eb37c32f38648e /tools/perf/scripts/python/flamegraph.py
parentfe221b7b2d3ecd042dd391f74ff6a6fdeb7c2038 (diff)
downloadlinux-b9fad53a62776359d3bb607bd0ba66e37d198260.tar.gz
linux-b9fad53a62776359d3bb607bd0ba66e37d198260.zip
selftests/seccomp: add Alpha support to seccomp_bpf
Enable the seccomp BPF selftests on Alpha with a fallback seccomp syscall number and architecture-specific syscall register accessors. Use the NT_PRSTATUS register layout rather than struct pt_regs. The register set contains r0-r30 followed by pc and unique. Read and update the syscall number in r1, and set both r0 and the r19/a3 error flag when synthesizing syscall results. At syscall entry, r19 still contains the fourth syscall argument, so callers setting a synthetic return value must also set the syscall number to -1 to skip execution. Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Magnus Lindholm <linmag7@gmail.com> Link: https://lore.kernel.org/r/20261010134214.974565-1-linmag7@gmail.com Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions