Skip to content
Commit 9c1ab6d5 authored by Leo Yan's avatar Leo Yan Committed by Jonathan Corbet
Browse files

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: default avatarLeo Yan <leo.yan@linaro.org>
Acked-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20221008083250.3160-1-leo.yan@linaro.org


Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 69d517e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment