diff options
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 0fcbf34a4f73..00081d84169f 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -358,6 +358,7 @@ struct file; | |||
358 | struct perf_mmap_data { | 358 | struct perf_mmap_data { |
359 | struct rcu_head rcu_head; | 359 | struct rcu_head rcu_head; |
360 | int nr_pages; /* nr of data pages */ | 360 | int nr_pages; /* nr of data pages */ |
361 | int nr_locked; /* nr pages mlocked */ | ||
361 | 362 | ||
362 | atomic_t poll; /* POLL_ for wakeups */ | 363 | atomic_t poll; /* POLL_ for wakeups */ |
363 | atomic_t head; /* write position */ | 364 | atomic_t head; /* write position */ |
@@ -575,6 +576,7 @@ struct perf_callchain_entry { | |||
575 | extern struct perf_callchain_entry *perf_callchain(struct pt_regs *regs); | 576 | extern struct perf_callchain_entry *perf_callchain(struct pt_regs *regs); |
576 | 577 | ||
577 | extern int sysctl_perf_counter_priv; | 578 | extern int sysctl_perf_counter_priv; |
579 | extern int sysctl_perf_counter_mlock; | ||
578 | 580 | ||
579 | extern void perf_counter_init(void); | 581 | extern void perf_counter_init(void); |
580 | 582 | ||