diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/kernel.h | 2 | ||||
-rw-r--r-- | include/linux/tracepoint.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 883cd44ff765..99b7aada28da 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -406,7 +406,7 @@ static inline char *pack_hex_byte(char *buf, u8 byte) | |||
406 | * | 406 | * |
407 | * Use tracing_on/tracing_off when you want to quickly turn on or off | 407 | * Use tracing_on/tracing_off when you want to quickly turn on or off |
408 | * tracing. It simply enables or disables the recording of the trace events. | 408 | * tracing. It simply enables or disables the recording of the trace events. |
409 | * This also corresponds to the user space debugfs/tracing/tracing_on | 409 | * This also corresponds to the user space /sys/kernel/debug/tracing/tracing_on |
410 | * file, which gives a means for the kernel and userspace to interact. | 410 | * file, which gives a means for the kernel and userspace to interact. |
411 | * Place a tracing_off() in the kernel where you want tracing to end. | 411 | * Place a tracing_off() in the kernel where you want tracing to end. |
412 | * From user space, examine the trace, and then echo 1 > tracing_on | 412 | * From user space, examine the trace, and then echo 1 > tracing_on |
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index 14df7e635d43..b9dc4ca0246f 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h | |||
@@ -198,7 +198,7 @@ static inline void tracepoint_synchronize_unregister(void) | |||
198 | * * This is how the trace record is structured and will | 198 | * * This is how the trace record is structured and will |
199 | * * be saved into the ring buffer. These are the fields | 199 | * * be saved into the ring buffer. These are the fields |
200 | * * that will be exposed to user-space in | 200 | * * that will be exposed to user-space in |
201 | * * /debug/tracing/events/<*>/format. | 201 | * * /sys/kernel/debug/tracing/events/<*>/format. |
202 | * * | 202 | * * |
203 | * * The declared 'local variable' is called '__entry' | 203 | * * The declared 'local variable' is called '__entry' |
204 | * * | 204 | * * |
@@ -258,7 +258,7 @@ static inline void tracepoint_synchronize_unregister(void) | |||
258 | * tracepoint callback (this is used by programmatic plugins and | 258 | * tracepoint callback (this is used by programmatic plugins and |
259 | * can also by used by generic instrumentation like SystemTap), and | 259 | * can also by used by generic instrumentation like SystemTap), and |
260 | * it is also used to expose a structured trace record in | 260 | * it is also used to expose a structured trace record in |
261 | * /debug/tracing/events/. | 261 | * /sys/kernel/debug/tracing/events/. |
262 | */ | 262 | */ |
263 | 263 | ||
264 | #define TRACE_EVENT(name, proto, args, struct, assign, print) \ | 264 | #define TRACE_EVENT(name, proto, args, struct, assign, print) \ |