public inbox for linux-trace-users@vger.kernel.org
 help / color / mirror / Atom feed
* [PPC][Tracing] Missing syscalls:* ftrace/perf events on PowerPC vs x86
@ 2026-02-17 20:10 Nassiri, Mohammad
  2026-02-17 20:23 ` Steven Rostedt
  2026-02-18  5:33 ` Hari Bathini
  0 siblings, 2 replies; 6+ messages in thread
From: Nassiri, Mohammad @ 2026-02-17 20:10 UTC (permalink / raw)
  To: linuxppc-dev@lists.ozlabs.org
  Cc: linux-trace-users@vger.kernel.org, michael@ellerman.id.au,
	srostedt@redhat.com, masami.hiramatsu@linaro.org,
	Christophe Leroy, Nicholas Piggin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-02-20  7:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17 20:10 [PPC][Tracing] Missing syscalls:* ftrace/perf events on PowerPC vs x86 Nassiri, Mohammad
2026-02-17 20:23 ` Steven Rostedt
2026-02-17 20:47   ` [**EXTERNAL**] " Nassiri, Mohammad
2026-02-18  5:33 ` Hari Bathini
2026-02-18 13:56   ` [**EXTERNAL**] " Nassiri, Mohammad
2026-02-20  7:54     ` Hari Bathini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox