aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/perf_counter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index d970fbc16afd..9ec20fc6bd36 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -317,6 +317,7 @@ enum perf_event_type {
317#include <linux/spinlock.h> 317#include <linux/spinlock.h>
318#include <linux/hrtimer.h> 318#include <linux/hrtimer.h>
319#include <linux/fs.h> 319#include <linux/fs.h>
320#include <linux/pid_namespace.h>
320#include <asm/atomic.h> 321#include <asm/atomic.h>
321 322
322struct task_struct; 323struct task_struct;
@@ -500,6 +501,8 @@ struct perf_counter {
500 501
501 void (*destroy)(struct perf_counter *); 502 void (*destroy)(struct perf_counter *);
502 struct rcu_head rcu_head; 503 struct rcu_head rcu_head;
504
505 struct pid_namespace *ns;
503#endif 506#endif
504}; 507};
505 508