On Thu, 11 Sep 2025 14:32:50 -0700 Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx> wrote: > Older kernels won't have this warn. > Also I don't know what these are: > "/tracing", > "/trace", It was common for people to hardcode the tracing and debug directories to short names. I use to do it, and I believe Arnaldo did it as well. > I think the fix would be to do: > "/sys/kernel/tracing", > "/sys/kernel/debug/tracing", Note, the libtracefs uses /proc/mounts to find the directory. Feel free to copy it and tweak it for your needs: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/tree/src/tracefs-utils.c#n89 It has some legacy code to allow finding the debugfs directory first, which shouldn't be needed anymore. -- Steve