Skip to content

Cannot trace syscalls because CONFIG_FTRACE_SYSCALLS is not set #6752

Closed
@bukatlib

Description

@bukatlib

Describe the bug

Please consider to enable CONFIG_FTRACE_SYSCALLS kernel option to enable syscall tracing via 'perf trace', currently only raw syscalls can be observed.

$ perf list | grep syscall
raw_syscalls:sys_enter [Tracepoint event]
raw_syscalls:sys_exit [Tracepoint event]

Performance impact should be close to zero if tracing is disabled (nop instructions).

Steps to reproduce the behaviour

perf stat -e 'syscalls:sys_enter_*'
event syntax error: 'syscalls:sys_enter_*'
___ unknown tracepoint

Device (s)

Raspberry Pi 5

System

Raspberry Pi reference 2024-07-04
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 48efb5fc5485fafdc9de8ad481eb5c09e1182656, stage5

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions