diff options
| author | Tejun Heo <tj@kernel.org> | 2013-04-14 20:50:08 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-18 12:46:45 +0200 |
| commit | cf9e2e4d06188bd730796988249f4eef46da6fa7 (patch) | |
| tree | 969da6975e9a87758ff70ede7eeb567ee5a9b5f7 /include/linux/stringify.h | |
| parent | 8c6846e6ed1d240c9b91f2339af802dc58edf1f7 (diff) | |
cgroup: implement task_cgroup_path_from_hierarchy()
kdbus folks want a sane way to determine the cgroup path that a given
task belongs to on a given hierarchy, which is a reasonble thing to
expect from cgroup core.
Implement task_cgroup_path_from_hierarchy().
v2: Dropped unnecessary NULL check on the return value of
task_cgroup_from_root() as suggested by Li Zefan.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Greg Kroah-Hartman <greg@kroah.com>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Kay Sievers <kay@vrfy.org>
Cc: Lennart Poettering <lennart@poettering.net>
Cc: Daniel Mack <daniel@zonque.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
