perf: Rename perf_mmap_data to perf_buffer
Commit-ID: ca5135e6b4a3cbc7e187737520fbc4b508f6f7a2 Gitweb: http://git.kernel.org/tip/ca5135e6b4a3cbc7e187737520fbc4b508f6f7a2 Author: Peter Zijlstra <[email protected]> AuthorDate: Fri, 28 May 2010 19:33:23 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Wed, 9 Jun 2010 11:12:35 +0200
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 <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Steven Rostedt <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by Ingo Molnar <[email protected]>
--- include/linux/perf_event.h | 6 +- kernel/perf_event.c | 308 ++++++++++++++++++++++---------------------- 2 files changed, 157 insertions(+), 157 deletions(-)
include/linux/perf_event.h +3 -3
@@ -602,7 +602,7 @@ enum perf_event_active_state {struct file ; -struct perf_mmap_data { +struct perf_buffer {atomic_t refcount;struct rcu_head rcu_head;#ifdef CONFIG_PERF_USE_VMALLOC
@@ -727,7 +727,7 @@ struct perf_event {atomic_t mmap_count;int mmap_locked;struct user_struct *mmap_user; -struct perf_mmap_data *data; +struct perf_buffer *buffer;/* poll related */ wait_queue_head_t waitq;
@@ -825,7 +825,7 @@ struct perf_cpu_context {struct perf_output_handle {struct perf_event *event; -struct perf_mmap_data *data; +struct perf_buffer *buffer;unsigned long wakeup;unsigned long size;void *addr;
kernel/perf_event.c +154 -154
665 lines not on this page · raw message