diff options
author | 2022-10-10 11:08:17 -1000 | |
---|---|---|
committer | 2022-10-10 11:08:17 -1000 | |
commit | 03db7716159477b595e9af01be8003b7e994cc79 (patch) | |
tree | c917d25e63ab54770b620696c1aa1312a0f879af /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | cgroup: Reorganize css_set_lock and kernfs path processing (diff) | |
download | linux-dev-03db7716159477b595e9af01be8003b7e994cc79.tar.xz linux-dev-03db7716159477b595e9af01be8003b7e994cc79.zip |
Revert "cgroup: enable cgroup_get_from_file() on cgroup1"
This reverts commit f3a2aebdd6fb90e444d595e46de64e822af419da.
The commit enabled looking up v1 cgroups via cgroup_get_from_file().
However, there are multiple users, including CLONE_INTO_CGROUP, which have
been assuming that it would only look up v2 cgroups. Returning v1 cgroups
breaks them.
Let's revert the commit and retry later with a separate lookup interface
which allows both v1 and v2.
Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/000000000000385cbf05ea3f1862@google.com
Cc: Yosry Ahmed <yosryahmed@google.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions