Skip to content

Commit

Permalink
perf: Rename perf_mmap_data to perf_buffer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Jun 9, 2010
1 parent 68aa00a commit ca5135e
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 157 deletions.
6 changes: 3 additions & 3 deletions include/linux/perf_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Loading

0 comments on commit ca5135e

Please sign in to comment.