Re: [BUGFIX PATCH 3/3] selftests/ftrace: Do not to use absolute debugfs path

From: Steven Rostedt
Date: Sun Nov 24 2019 - 16:42:40 EST


On Sun, 24 Nov 2019 13:55:57 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> Use relative path to trigger file instead of absolute debugfs path,
> because if the user uses tracefs instead of debugfs, it can be
> mounted at /sys/kernel/tracing.
> Anyway, since the ftracetest is designed to be run at the tracing
> directory, user doesn't need to use absolute path.
>
> Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
>

Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve