diff options
Diffstat (limited to 'ANDROID_3.4.5/tools/perf/util/cgroup.h')
-rw-r--r-- | ANDROID_3.4.5/tools/perf/util/cgroup.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/tools/perf/util/cgroup.h b/ANDROID_3.4.5/tools/perf/util/cgroup.h new file mode 100644 index 00000000..89acd6de --- /dev/null +++ b/ANDROID_3.4.5/tools/perf/util/cgroup.h @@ -0,0 +1,17 @@ +#ifndef __CGROUP_H__ +#define __CGROUP_H__ + +struct option; + +struct cgroup_sel { + char *name; + int fd; + int refcnt; +}; + + +extern int nr_cgroups; /* number of explicit cgroups defined */ +extern void close_cgroup(struct cgroup_sel *cgrp); +extern int parse_cgroups(const struct option *opt, const char *str, int unset); + +#endif /* __CGROUP_H__ */ |