Skip to content

/sys/kernel/debug/tracing mountpoint has been deprecated since 6.17 #192

@charleschetty

Description

@charleschetty

Since Linux 6.17 the /sys/kernel/debug/tracing mountpoint has been deprecated and is only accessible if CONFIG_TRACEFS_AUTOMOUNT_DEPRECATED=y is set.

As a result, on some distributions (for example, Arch Linux link ) the usual way of reading trace_pipe may fail:

sudo cat /sys/kernel/debug/tracing/trace_pipe | grep *****

If someone meet the same issue , simply change the path as /sys/kernel/tracing/trace_pipe or just use bpftool prog tracelog can work.

Also, some libraries (for example, bcc) also break due to the deprecated mountpoint, from now the issue haven't been fixed (iovisor/bcc#5423). Switching from the 6.18 kernel to the LTS kernel is a simple workaround that resolves the problem.

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