[PPC][Tracing] Missing syscalls:* ftrace/perf events on PowerPC vs x86
Nassiri, Mohammad
mnassiri at ciena.com
Wed Feb 18 07:10:39 AEDT 2026
Hello,
On PPC64 with Yocto Kirkstone and Linux 5.10.x, `CONFIG_FTRACE_SYSCALLS=y` is enabled, but neither `perf list` nor ftrace show per‑syscall events under `/sys/kernel/debug/tracing/events/syscalls`. Only `raw_syscalls:sys_enter` / `raw_syscalls:sys_exit` are available.
On the same build and kernel version for x86_64, per‑syscall events are visible.
Configs on PPC include:
CONFIG_TRACEPOINTS=y
CONFIG_EVENT_TRACING=y
CONFIG_FTRACE=y
CONFIG_FTRACE_SYSCALLS=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
Questions:
1. Is the absence of per‑syscall tracepoints on PPC in 5.10.x expected behaviour, or am I missing a config option required for these syscalls:* events to be available?
2. Or were these events only enabled for PPC after Michael Ellerman’s syscall tracing patch series in v6.1?
Link: https://lore.kernel.org/linuxppc-dev/166488988686.779920.13794870102696416283.b4-ty@ellerman.id.au/
3. If yes to (2), would a minimal backport of the PPC syscall tracepoint generation code from v6.1 allow 5.10.x to show syscalls:* events in perf/ftrace?
Thanks,
Mohammad
More information about the Linuxppc-dev
mailing list