Merge tag 'locks-v3.16-2' of git://git.samba.org/jlayton/linux
[linux/fpc-iii.git] / tools / perf / util / cgroup.h
blob89acd6debdc5fc06d28889cb95eb30d7af98642f
1 #ifndef __CGROUP_H__
2 #define __CGROUP_H__
4 struct option;
6 struct cgroup_sel {
7 char *name;
8 int fd;
9 int refcnt;
13 extern int nr_cgroups; /* number of explicit cgroups defined */
14 extern void close_cgroup(struct cgroup_sel *cgrp);
15 extern int parse_cgroups(const struct option *opt, const char *str, int unset);
17 #endif /* __CGROUP_H__ */