docs: ftrace: Correct access mode
The documentation gives an example for opening trace marker with write-only mode, but the flag WR_ONLY is not defined by glibc. Use O_WRONLY to replace it. Signed-off-by: NLeo Yan <leo.yan@linaro.org> Acked-by: NSteven Rostedt (Google) <rostedt@goodmis.org> Link: https://lore.kernel.org/r/20221008083250.3160-1-leo.yan@linaro.orgSigned-off-by: NJonathan Corbet <corbet@lwn.net>
Showing
想要评论请 注册 或 登录