aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorRoman Gushchin <[email protected]>2017-11-06 13:30:29 -0500
committerTejun Heo <[email protected]>2017-11-06 12:01:57 -0800
commit5f2e673405b742be64e7c3604ed4ed3ac14f35ce (patch)
tree485162ac6fa8ae522c8ccfde830d7d40a2d8b069 /tools/perf/scripts/python/call-graph-from-sql.py
parent01ee6cfb1483fe57c9cbd8e73817dfbf9bacffd3 (diff)
cgroup: export list of cgroups v2 features using sysfs
The active development of cgroups v2 sometimes leads to a creation of interfaces, which are not turned on by default (to provide backward compatibility). It's handy to know from userspace, which cgroup v2 features are supported without calculating it based on the kernel version. So, let's export the list of such features using /sys/kernel/cgroup/features pseudo-file. The list is hardcoded and has to be extended when new functionality is added. Each feature is printed on a new line. Example: $ cat /sys/kernel/cgroup/features nsdelegate Signed-off-by: Roman Gushchin <[email protected]> Cc: Tejun Heo <[email protected]> Cc: [email protected] Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions