Loading include/linux/ring_buffer.h +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ struct ring_buffer; struct ring_buffer_iter; /* * Don't reference this struct directly, use functions below. * Don't refer to this struct directly, use functions below. */ struct ring_buffer_event { u32 type:2, len:3, time_delta:27; Loading kernel/trace/ring_buffer.c +4 −4 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ EXPORT_SYMBOL_GPL(tracing_off); * tracing_off_permanent - permanently disable ring buffers * * This function, once called, will disable all ring buffers * permanenty. * permanently. */ void tracing_off_permanent(void) { Loading Loading @@ -210,7 +210,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_event_data); struct buffer_data_page { u64 time_stamp; /* page time stamp */ local_t commit; /* write commited index */ local_t commit; /* write committed index */ unsigned char data[]; /* data of buffer page */ }; Loading Loading @@ -260,7 +260,7 @@ struct ring_buffer_per_cpu { struct list_head pages; struct buffer_page *head_page; /* read from head */ struct buffer_page *tail_page; /* write to tail */ struct buffer_page *commit_page; /* commited pages */ struct buffer_page *commit_page; /* committed pages */ struct buffer_page *reader_page; unsigned long overrun; unsigned long entries; Loading Loading @@ -303,7 +303,7 @@ struct ring_buffer_iter { * check_pages - integrity check of buffer pages * @cpu_buffer: CPU buffer with pages to test * * As a safty measure we check to make sure the data pages have not * As a safety measure we check to make sure the data pages have not * been corrupted. */ static int rb_check_pages(struct ring_buffer_per_cpu *cpu_buffer) Loading kernel/trace/trace.c +1 −1 Original line number Diff line number Diff line Loading @@ -1963,7 +1963,7 @@ tracing_trace_options_read(struct file *filp, char __user *ubuf, struct tracer_opt *trace_opts = current_trace->flags->opts; /* calulate max size */ /* calculate max size */ for (i = 0; trace_options[i]; i++) { len += strlen(trace_options[i]); len += 3; /* "no" and space */ Loading kernel/trace/trace_hw_branches.c +1 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ static void bts_trace_start(struct trace_array *tr) } /* * Start tracing on the current cpu. * Stop tracing on the current cpu. * The argument is ignored. * * pre: bts_tracer_mutex must be locked. Loading Loading
include/linux/ring_buffer.h +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ struct ring_buffer; struct ring_buffer_iter; /* * Don't reference this struct directly, use functions below. * Don't refer to this struct directly, use functions below. */ struct ring_buffer_event { u32 type:2, len:3, time_delta:27; Loading
kernel/trace/ring_buffer.c +4 −4 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ EXPORT_SYMBOL_GPL(tracing_off); * tracing_off_permanent - permanently disable ring buffers * * This function, once called, will disable all ring buffers * permanenty. * permanently. */ void tracing_off_permanent(void) { Loading Loading @@ -210,7 +210,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_event_data); struct buffer_data_page { u64 time_stamp; /* page time stamp */ local_t commit; /* write commited index */ local_t commit; /* write committed index */ unsigned char data[]; /* data of buffer page */ }; Loading Loading @@ -260,7 +260,7 @@ struct ring_buffer_per_cpu { struct list_head pages; struct buffer_page *head_page; /* read from head */ struct buffer_page *tail_page; /* write to tail */ struct buffer_page *commit_page; /* commited pages */ struct buffer_page *commit_page; /* committed pages */ struct buffer_page *reader_page; unsigned long overrun; unsigned long entries; Loading Loading @@ -303,7 +303,7 @@ struct ring_buffer_iter { * check_pages - integrity check of buffer pages * @cpu_buffer: CPU buffer with pages to test * * As a safty measure we check to make sure the data pages have not * As a safety measure we check to make sure the data pages have not * been corrupted. */ static int rb_check_pages(struct ring_buffer_per_cpu *cpu_buffer) Loading
kernel/trace/trace.c +1 −1 Original line number Diff line number Diff line Loading @@ -1963,7 +1963,7 @@ tracing_trace_options_read(struct file *filp, char __user *ubuf, struct tracer_opt *trace_opts = current_trace->flags->opts; /* calulate max size */ /* calculate max size */ for (i = 0; trace_options[i]; i++) { len += strlen(trace_options[i]); len += 3; /* "no" and space */ Loading
kernel/trace/trace_hw_branches.c +1 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ static void bts_trace_start(struct trace_array *tr) } /* * Start tracing on the current cpu. * Stop tracing on the current cpu. * The argument is ignored. * * pre: bts_tracer_mutex must be locked. Loading