summaryrefslogtreecommitdiffstats
path: root/Documentation/trace
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-10-13 10:58:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-10-13 10:58:32 -0700
commitf2b220ef93ea34ff6ce48fec382689cf02099f39 (patch)
treee021cb867625ee1054208ae2197d51d6ea1b4c7c /Documentation/trace
parent66ae04368efbe20eb8951c9a76158f99ce672f25 (diff)
parent877d95dcfd0a56102d4b97a9691115f5fb5e9ea3 (diff)
downloadlinux-f2b220ef93ea34ff6ce48fec382689cf02099f39.tar.gz
linux-f2b220ef93ea34ff6ce48fec382689cf02099f39.tar.bz2
linux-f2b220ef93ea34ff6ce48fec382689cf02099f39.zip
Merge tag 'docs-6.1-2' of git://git.lwn.net/linux
Pull documentation fixes from Jonathan Corbet: "A handful of relatively simple documentation fixes, plus a set of patches catching the Chinese translation up with the front-page rework" * tag 'docs-6.1-2' of git://git.lwn.net/linux: Documentation: rtla: Correct command line example docs/zh_CN: add a man-pages link to zh_CN/index.rst docs/zh_CN: Rewrite the Chinese translation front page docs/zh_CN: add zh_CN/arch.rst docs/zh_CN: promote the title of zh_CN/process/index.rst docs/zh_CN: Update the translation of page_owner to 6.0-rc7 docs/zh_CN: Update the translation of ksm to 6.0-rc7 docs/howto: Replace abundoned URL of gmane.org Documentation: ubifs: Fix compression idiom Documentation/mm/page_owner.rst: delete frequently changing experimental data docs/zh_CN: Fix build warning docs: ftrace: Correct access mode
Diffstat (limited to 'Documentation/trace')
-rw-r--r--Documentation/trace/ftrace.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst
index b37dc19e4d40..60bceb018d6a 100644
--- a/Documentation/trace/ftrace.rst
+++ b/Documentation/trace/ftrace.rst
@@ -564,7 +564,7 @@ of ftrace. Here is a list of some of the key files:
start::
- trace_fd = open("trace_marker", WR_ONLY);
+ trace_fd = open("trace_marker", O_WRONLY);
Note: Writing into the trace_marker file can also initiate triggers
that are written into /sys/kernel/tracing/events/ftrace/print/trigger