aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/ring_buffer.c')
-rw-r--r--kernel/trace/ring_buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 0ebeb1d76ddf..23a384b92512 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -1821,7 +1821,7 @@ rb_add_time_stamp(struct ring_buffer_event *event, u64 delta)
1821} 1821}
1822 1822
1823/** 1823/**
1824 * ring_buffer_update_event - update event type and data 1824 * rb_update_event - update event type and data
1825 * @event: the even to update 1825 * @event: the even to update
1826 * @type: the type of event 1826 * @type: the type of event
1827 * @length: the size of the event field in the ring buffer 1827 * @length: the size of the event field in the ring buffer
@@ -2723,8 +2723,8 @@ EXPORT_SYMBOL_GPL(ring_buffer_discard_commit);
2723 * and not the length of the event which would hold the header. 2723 * and not the length of the event which would hold the header.
2724 */ 2724 */
2725int ring_buffer_write(struct ring_buffer *buffer, 2725int ring_buffer_write(struct ring_buffer *buffer,
2726 unsigned long length, 2726 unsigned long length,
2727 void *data) 2727 void *data)
2728{ 2728{
2729 struct ring_buffer_per_cpu *cpu_buffer; 2729 struct ring_buffer_per_cpu *cpu_buffer;
2730 struct ring_buffer_event *event; 2730 struct ring_buffer_event *event;