diff options
author | 2023-09-12 12:34:35 +0530 | |
---|---|---|
committer | 2023-09-18 08:58:27 -1000 | |
commit | d24f05987ce8bf61e62d86fedbe47523dc5c3393 (patch) | |
tree | 2b8efaeb089531af2aff47f83080cea9fb23c0a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: Check for ret during cgroup1_base_files cft addition (diff) | |
download | wireguard-linux-d24f05987ce8bf61e62d86fedbe47523dc5c3393.tar.xz wireguard-linux-d24f05987ce8bf61e62d86fedbe47523dc5c3393.zip |
cgroup: Avoid extra dereference in css_populate_dir()
Use css directly instead of dereferencing it from &cgroup->self, while
adding the cgroup v2 cft base and psi files in css_populate_dir(). Both
points to the same css, when css->ss is NULL, this avoids extra deferences
and makes code consistent in usage across the function.
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.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