diff options
author | 2020-02-05 14:26:19 +0100 | |
---|---|---|
committer | 2020-02-12 17:57:51 -0500 | |
commit | 17703097f3456498e6424614571648c6452f4d34 (patch) | |
tree | f302a8825f3e6bc554d92a19b6e89c49b00cd2ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: unify attach permission checking (diff) | |
download | wireguard-linux-17703097f3456498e6424614571648c6452f4d34.tar.xz wireguard-linux-17703097f3456498e6424614571648c6452f4d34.zip |
cgroup: add cgroup_get_from_file() helper
Add a helper cgroup_get_from_file(). The helper will be used in
subsequent patches to retrieve a cgroup while holding a reference to the
struct file it was taken from.
Cc: Tejun Heo <tj@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Li Zefan <lizefan@huawei.com>
Cc: cgroups@vger.kernel.org
Acked-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions