diff options
-rw-r--r-- | kernel/trace/ring_buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index f4cc59040ebf..3e86da9b2a09 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c | |||
@@ -2802,6 +2802,7 @@ void *ring_buffer_alloc_read_page(struct ring_buffer *buffer) | |||
2802 | 2802 | ||
2803 | return bpage; | 2803 | return bpage; |
2804 | } | 2804 | } |
2805 | EXPORT_SYMBOL_GPL(ring_buffer_alloc_read_page); | ||
2805 | 2806 | ||
2806 | /** | 2807 | /** |
2807 | * ring_buffer_free_read_page - free an allocated read page | 2808 | * ring_buffer_free_read_page - free an allocated read page |
@@ -2814,6 +2815,7 @@ void ring_buffer_free_read_page(struct ring_buffer *buffer, void *data) | |||
2814 | { | 2815 | { |
2815 | free_page((unsigned long)data); | 2816 | free_page((unsigned long)data); |
2816 | } | 2817 | } |
2818 | EXPORT_SYMBOL_GPL(ring_buffer_free_read_page); | ||
2817 | 2819 | ||
2818 | /** | 2820 | /** |
2819 | * ring_buffer_read_page - extract a page from the ring buffer | 2821 | * ring_buffer_read_page - extract a page from the ring buffer |
@@ -2959,6 +2961,7 @@ int ring_buffer_read_page(struct ring_buffer *buffer, | |||
2959 | out: | 2961 | out: |
2960 | return ret; | 2962 | return ret; |
2961 | } | 2963 | } |
2964 | EXPORT_SYMBOL_GPL(ring_buffer_read_page); | ||
2962 | 2965 | ||
2963 | static ssize_t | 2966 | static ssize_t |
2964 | rb_simple_read(struct file *filp, char __user *ubuf, | 2967 | rb_simple_read(struct file *filp, char __user *ubuf, |