aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2014-05-16 17:22:52 +0000
committerTejun Heo <[email protected]>2014-05-16 17:22:52 +0000
commit6f4524d355a86769b65d5420a6ef47fb0bba9b72 (patch)
treeb0edfe7bfc0a20173041aa8811acf4629ccb020d /tools/perf/scripts/python
parentdevice_cgroup: use css_has_online_children() instead of has_children() (diff)
downloadkernel-6f4524d355a86769b65d5420a6ef47fb0bba9b72.tar.gz
kernel-6f4524d355a86769b65d5420a6ef47fb0bba9b72.zip
cgroup: implement css_tryget()
Implement css_tryget() which tries to grab a cgroup_subsys_state's reference as long as it already hasn't reached zero. Combined with the recent css iterator changes to include offline && !released csses during traversal, this can be used to access csses regardless of its online state. v2: Take the new flag CSS_NO_REF into account. Signed-off-by: Tejun Heo <[email protected]> Acked-by: Li Zefan <[email protected]> Cc: Johannes Weiner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions