summaryrefslogtreecommitdiffstats
path: root/kernel/tools/perf/util/cgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/perf/util/cgroup.h')
-rw-r--r--kernel/tools/perf/util/cgroup.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/tools/perf/util/cgroup.h b/kernel/tools/perf/util/cgroup.h
index 89acd6deb..b4b8cb42f 100644
--- a/kernel/tools/perf/util/cgroup.h
+++ b/kernel/tools/perf/util/cgroup.h
@@ -1,12 +1,14 @@
#ifndef __CGROUP_H__
#define __CGROUP_H__
+#include <linux/atomic.h>
+
struct option;
struct cgroup_sel {
char *name;
int fd;
- int refcnt;
+ atomic_t refcnt;
};