projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
910e94d
)
ftrace: Fix README to state tracing_on to start/stop tracing
author
Geunsik Lim
<geunsik.lim@samsung.com>
Fri, 12 Aug 2011 05:30:22 +0000
(14:30 +0900)
committer
Steven Rostedt
<rostedt@goodmis.org>
Fri, 14 Oct 2011 14:41:33 +0000
(10:41 -0400)
tracing_enabled option is deprecated.
To start/stop tracing, write to /sys/kernel/debug/tracing/tracing_on
without tracing_enabled. This patch is based on Linux 3.1.0-rc1
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Link:
http://lkml.kernel.org/r/1313127022-23830-1-git-send-email-leemgs1@gmail.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/trace.c
b/kernel/trace/trace.c
index f86efe90ca457c32c90ec6df7b98a586eee69be0..cea16053f5538e9d588656cab74b88caae68b1a7 100644
(file)
--- a/
kernel/trace/trace.c
+++ b/
kernel/trace/trace.c
@@
-2720,9
+2720,9
@@
static const char readme_msg[] =
"# cat /sys/kernel/debug/tracing/trace_options\n"
"noprint-parent nosym-offset nosym-addr noverbose\n"
"# echo print-parent > /sys/kernel/debug/tracing/trace_options\n"
- "# echo 1 > /sys/kernel/debug/tracing/tracing_
enabled
\n"
+ "# echo 1 > /sys/kernel/debug/tracing/tracing_
on
\n"
"# cat /sys/kernel/debug/tracing/trace > /tmp/trace.txt\n"
- "# echo 0 > /sys/kernel/debug/tracing/tracing_
enabled
\n"
+ "# echo 0 > /sys/kernel/debug/tracing/tracing_
on
\n"
;
static ssize_t