-
由 Yuntao Wang 提交于
Creating tracefs entries with tracefs_create_file() followed by pr_warn() is tedious and repetitive, we can use trace_create_file() to simplify this process and make the code more readable. Link: https://lkml.kernel.org/r/20220114131052.534382-1-ytcoode@gmail.comAcked-by: NMasami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: NYuntao Wang <ytcoode@gmail.com> Signed-off-by: NSteven Rostedt (Google) <rostedt@goodmis.org>
e4931b82