diff options
author | Tejun Heo <tj@kernel.org> | 2014-02-11 11:52:48 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-11 11:52:48 -0500 |
commit | 8d7e6fb0a1db970ac3589f87af0f2a20ef46654b (patch) | |
tree | f6b10b105575da92908db304722450511e9cdf23 /tools/perf/scripts/python/sched-migration.py | |
parent | d427dfeb120b92c0c5e2ca9d1ec6952de67ebad9 (diff) |
cgroup: update cgroup name handling
Straightforward updates to cgroup name handling in preparation of
kernfs conversion.
* cgroup_alloc_name() is updated to take const char * isntead of
dentry * for name source.
* cgroup name formatting is separated out into cgroup_file_name().
While at it, buffer length protection is added.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions