repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty...
[linux/fpc-iii.git]
/
tools
/
perf
/
util
/
cgroup.h
blob
89acd6debdc5fc06d28889cb95eb30d7af98642f
1
#ifndef __CGROUP_H__
2
#define __CGROUP_H__
3
4
struct
option
;
5
6
struct
cgroup_sel
{
7
char
*
name
;
8
int
fd
;
9
int
refcnt
;
10
};
11
12
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
);
16
17
#endif
/* __CGROUP_H__ */