aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-05-28 13:33:23 -0400
committerIngo Molnar <mingo@elte.hu>2010-06-09 05:12:35 -0400
commitca5135e6b4a3cbc7e187737520fbc4b508f6f7a2 (patch)
treeb9bf928206d397f9c0474b1d2ea8f777cf4d22d7 /include
parent68aa00ac0a82e9a876c799bf6be7622b8f1c8517 (diff)
perf: Rename perf_mmap_data to perf_buffer
Rename to clarify code. s/perf_mmap_data/perf_buffer/g and selective s/data/buffer/g Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/perf_event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index f1b6ba0770e0..2a0da021c23f 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -602,7 +602,7 @@ enum perf_event_active_state {
602 602
603struct file; 603struct file;
604 604
605struct perf_mmap_data { 605struct perf_buffer {
606 atomic_t refcount; 606 atomic_t refcount;
607 struct rcu_head rcu_head; 607 struct rcu_head rcu_head;
608#ifdef CONFIG_PERF_USE_VMALLOC 608#ifdef CONFIG_PERF_USE_VMALLOC
@@ -727,7 +727,7 @@ struct perf_event {
727 atomic_t mmap_count; 727 atomic_t mmap_count;
728 int mmap_locked; 728 int mmap_locked;
729 struct user_struct *mmap_user; 729 struct user_struct *mmap_user;
730 struct perf_mmap_data *data; 730 struct perf_buffer *buffer;
731 731
732 /* poll related */ 732 /* poll related */
733 wait_queue_head_t waitq; 733 wait_queue_head_t waitq;
@@ -825,7 +825,7 @@ struct perf_cpu_context {
825 825
826struct perf_output_handle { 826struct perf_output_handle {
827 struct perf_event *event; 827 struct perf_event *event;
828 struct perf_mmap_data *data; 828 struct perf_buffer *buffer;
829 unsigned long wakeup; 829 unsigned long wakeup;
830 unsigned long size; 830 unsigned long size;
831 void *addr; 831 void *addr;