mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 23:26:50 +07:00
3938bad44e
Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-w246stf7ponfamclsai6b9zo@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
20 lines
359 B
C
20 lines
359 B
C
#ifndef __CGROUP_H__
|
|
#define __CGROUP_H__
|
|
|
|
#include <linux/atomic.h>
|
|
|
|
struct option;
|
|
|
|
struct cgroup_sel {
|
|
char *name;
|
|
int fd;
|
|
atomic_t refcnt;
|
|
};
|
|
|
|
|
|
extern int nr_cgroups; /* number of explicit cgroups defined */
|
|
void close_cgroup(struct cgroup_sel *cgrp);
|
|
int parse_cgroups(const struct option *opt, const char *str, int unset);
|
|
|
|
#endif /* __CGROUP_H__ */
|