-
-
Notifications
You must be signed in to change notification settings - Fork 547
Open
Description
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
Labels
No labels