diff options
author | 2013-06-24 15:21:48 -0700 | |
---|---|---|
committer | 2013-06-24 15:21:48 -0700 | |
commit | b326f9d0dbd066b0aafbe88e6011a680a36de6e8 (patch) | |
tree | 4e2234cea36ac5ff5e7c8243100e421c2d9e4a8c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: remove cgroup->actual_subsys_mask (diff) | |
download | linux-dev-b326f9d0dbd066b0aafbe88e6011a680a36de6e8.tar.xz linux-dev-b326f9d0dbd066b0aafbe88e6011a680a36de6e8.zip |
cgroup: clean up find_css_set() and friends
find_css_set() passes uninitialized on-stack template[] array to
find_existing_css_set() which sets the entries for all subsystems.
Passing around an uninitialized array is a bit icky and we want to
introduce an iterator which only iterates loaded subsystems. Let's
initialize it on definition.
While at it, also make the following cosmetic cleanups.
* Convert to proper /** comments.
* Reorder variable declarations.
* Replace comment on synchronization with lockdep_assert_held().
This patch doesn't make any functional differences.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions