Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / tools / perf / util / cgroup.h
blob31f8dcdbd7efefac48353b90715c027cf2c13386
1 #ifndef __CGROUP_H__
2 #define __CGROUP_H__
4 #include <linux/atomic.h>
6 struct option;
8 struct cgroup_sel {
9 char *name;
10 int fd;
11 atomic_t refcnt;
15 extern int nr_cgroups; /* number of explicit cgroups defined */
16 void close_cgroup(struct cgroup_sel *cgrp);
17 int parse_cgroups(const struct option *opt, const char *str, int unset);
19 #endif /* __CGROUP_H__ */