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/[email protected]/
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

Reply via email to