]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - tools/perf/util/cgroup.h
Merge branch 'nvme-4.13' of git://git.infradead.org/nvme into for-linus
[mirror_ubuntu-artful-kernel.git] / tools / perf / util / cgroup.h
CommitLineData
023695d9
SE
1#ifndef __CGROUP_H__
2#define __CGROUP_H__
3
79c5fe6d 4#include <linux/refcount.h>
f812d304 5
023695d9
SE
6struct option;
7
8struct cgroup_sel {
9 char *name;
10 int fd;
79c5fe6d 11 refcount_t refcnt;
023695d9
SE
12};
13
14
15extern int nr_cgroups; /* number of explicit cgroups defined */
3938bad4
ACM
16void close_cgroup(struct cgroup_sel *cgrp);
17int parse_cgroups(const struct option *opt, const char *str, int unset);
023695d9
SE
18
19#endif /* __CGROUP_H__ */