aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2009-02-10 01:03:18 -0500
committerSteven Rostedt <srostedt@redhat.com>2009-02-10 12:32:35 -0500
commitc3706f005c3aaf570e71f0f083fdbb59a5a9fa2e (patch)
treeb4fab26095cd08403a86d976c90320f5053bcc08 /kernel/trace/ring_buffer.c
parent810dc73265cd690b2bc6010489b4317bba2cda39 (diff)
tracing: fix typos in comments
Impact: clean up. Fix typos in the comments. Signed-off-by: Wenji Huang <wenji.huang@oracle.com> Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
-rw-r--r--kernel/trace/ring_buffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 10d202ea06f3..fa64e1f003eb 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -91,7 +91,7 @@ EXPORT_SYMBOL_GPL(tracing_off);
91 * tracing_off_permanent - permanently disable ring buffers 91 * tracing_off_permanent - permanently disable ring buffers
92 * 92 *
93 * This function, once called, will disable all ring buffers 93 * This function, once called, will disable all ring buffers
94 * permanenty. 94 * permanently.
95 */ 95 */
96void tracing_off_permanent(void) 96void tracing_off_permanent(void)
97{ 97{
@@ -210,7 +210,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_event_data);
210 210
211struct buffer_data_page { 211struct buffer_data_page {
212 u64 time_stamp; /* page time stamp */ 212 u64 time_stamp; /* page time stamp */
213 local_t commit; /* write commited index */ 213 local_t commit; /* write committed index */
214 unsigned char data[]; /* data of buffer page */ 214 unsigned char data[]; /* data of buffer page */
215}; 215};
216 216
@@ -260,7 +260,7 @@ struct ring_buffer_per_cpu {
260 struct list_head pages; 260 struct list_head pages;
261 struct buffer_page *head_page; /* read from head */ 261 struct buffer_page *head_page; /* read from head */
262 struct buffer_page *tail_page; /* write to tail */ 262 struct buffer_page *tail_page; /* write to tail */
263 struct buffer_page *commit_page; /* commited pages */ 263 struct buffer_page *commit_page; /* committed pages */
264 struct buffer_page *reader_page; 264 struct buffer_page *reader_page;
265 unsigned long overrun; 265 unsigned long overrun;
266 unsigned long entries; 266 unsigned long entries;
@@ -303,7 +303,7 @@ struct ring_buffer_iter {
303 * check_pages - integrity check of buffer pages 303 * check_pages - integrity check of buffer pages
304 * @cpu_buffer: CPU buffer with pages to test 304 * @cpu_buffer: CPU buffer with pages to test
305 * 305 *
306 * As a safty measure we check to make sure the data pages have not 306 * As a safety measure we check to make sure the data pages have not
307 * been corrupted. 307 * been corrupted.
308 */ 308 */
309static int rb_check_pages(struct ring_buffer_per_cpu *cpu_buffer) 309static int rb_check_pages(struct ring_buffer_per_cpu *cpu_buffer)