summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAleksa Sarai <cyphar@cyphar.com>2015-06-06 03:02:14 +0300
committerTejun Heo <tj@kernel.org>2015-06-08 12:17:32 +0300
commitcb4a316752709be4a644f070440a8be470d92b7d (patch)
treee2c09e4f265f3c2df2bb3fc2a5aff19165aa4135 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentc80ef9e0c021ff86771fdd72583c75d8f7b6a720 (diff)
downloadlinux-cb4a316752709be4a644f070440a8be470d92b7d.tar.xz
cgroup: use bitmask to filter for_each_subsys
Add a new macro for_each_subsys_which that allows all enabled cgroup subsystems to be filtered by a bitmask, such that mask & (1 << ssid) determines if the subsystem is to be processed in the loop body (where ssid is the unique id of the subsystem). Also replace the need_forkexit_callback with two separate bitmasks for each callback to make (ss->{fork,exit}) checks unnecessary. tj: add a short comment for "if (!CGROUP_SUBSYS_COUNT)". Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions