Blame view
include/linux/cgroup_subsys.h
1.39 KB
add0c59d8
|
1 2 3 4 |
/* * List of cgroup subsystems. * * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. |
ddbcc7e8e
|
5 |
*/ |
7e47682ea
|
6 7 8 9 10 11 12 13 14 15 |
/* * This file *must* be included with SUBSYS() defined. * SUBSYS_TAG() is a noop if undefined. */ #ifndef SUBSYS_TAG #define __TMP_SUBSYS_TAG #define SUBSYS_TAG(_x) #endif |
3ed80a62b
|
16 |
#if IS_ENABLED(CONFIG_CPUSETS) |
8793d854e
|
17 18 |
SUBSYS(cpuset) #endif |
3ed80a62b
|
19 |
#if IS_ENABLED(CONFIG_CGROUP_SCHED) |
073219e99
|
20 |
SUBSYS(cpu) |
68318b8e0
|
21 |
#endif |
3ed80a62b
|
22 |
#if IS_ENABLED(CONFIG_CGROUP_CPUACCT) |
d842de871
|
23 24 |
SUBSYS(cpuacct) #endif |
24dab7a7b
|
25 |
#if IS_ENABLED(CONFIG_BLK_CGROUP) |
c165b3e3c
|
26 |
SUBSYS(io) |
24dab7a7b
|
27 |
#endif |
3ed80a62b
|
28 |
#if IS_ENABLED(CONFIG_MEMCG) |
073219e99
|
29 |
SUBSYS(memory) |
8cdea7c05
|
30 |
#endif |
3ed80a62b
|
31 |
#if IS_ENABLED(CONFIG_CGROUP_DEVICE) |
08ce5f16e
|
32 33 |
SUBSYS(devices) #endif |
3ed80a62b
|
34 |
#if IS_ENABLED(CONFIG_CGROUP_FREEZER) |
dc52ddc0e
|
35 36 |
SUBSYS(freezer) #endif |
3ed80a62b
|
37 |
#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID) |
f40092373
|
38 39 |
SUBSYS(net_cls) #endif |
3ed80a62b
|
40 |
#if IS_ENABLED(CONFIG_CGROUP_PERF) |
073219e99
|
41 |
SUBSYS(perf_event) |
e5d1367f1
|
42 |
#endif |
3ed80a62b
|
43 |
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO) |
5bc1421e3
|
44 45 |
SUBSYS(net_prio) #endif |
3ed80a62b
|
46 |
#if IS_ENABLED(CONFIG_CGROUP_HUGETLB) |
2bc64a204
|
47 48 |
SUBSYS(hugetlb) #endif |
5533e0114
|
49 50 |
/* |
7e47682ea
|
51 52 53 |
* Subsystems that implement the can_fork() family of callbacks. */ SUBSYS_TAG(CANFORK_START) |
49b786ea1
|
54 55 56 57 |
#if IS_ENABLED(CONFIG_CGROUP_PIDS) SUBSYS(pids) #endif |
7e47682ea
|
58 59 60 |
SUBSYS_TAG(CANFORK_END) /* |
5533e0114
|
61 62 63 64 65 |
* The following subsystems are not supported on the default hierarchy. */ #if IS_ENABLED(CONFIG_CGROUP_DEBUG) SUBSYS(debug) #endif |
7e47682ea
|
66 67 68 69 70 |
#ifdef __TMP_SUBSYS_TAG #undef __TMP_SUBSYS_TAG #undef SUBSYS_TAG #endif |
add0c59d8
|
71 72 73 |
/* * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. */ |