commit | fe143bd511decad83ec551cab1b72ad78f8b51dd | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sat Aug 27 18:53:12 2022 -1000 |
committer | Tejun Heo <tj@kernel.org> | Sat Aug 27 18:53:12 2022 -1000 |
tree | 6e3bf5fd2e0f0ad161f11a4dece33132f0486566 | |
parent | c9ca600cb5c0980438df0ed687ba864fb0045c31 [diff] |
cgroup: Implement cgroup_file_show() Add cgroup_file_show() which allows toggling visibility of a cgroup file using the new kernfs_show(). This will be used to hide psi interface files on cgroups where it's disabled. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Chengming Zhou <zhouchengming@bytedance.com> Cc: Johannes Weiner <hannes@cmpxchg.org>