diff options
| author | Rui Qi <qirui.001@bytedance.com> | 2026-08-09 16:21:10 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-08-10 09:28:03 -1000 |
| commit | 75e79a20190040800445ec95a4c4a84193d16992 (patch) | |
| tree | c6c11a737f5eab932732199bb40dda29c1f0d63a /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 26d3a59e0241c3ef9f66ae1ae990f9326acbc059 (diff) | |
selftests/cgroup: Avoid awk -e in cpuset tests
The cpuset selftests use awk -e to parse cgroup mount points. This
works with gawk, but mawk rejects the option. In test_cpuset_prs.sh,
this leaves CGROUP2 empty and causes the test to skip as if cgroup v2
were not mounted. The same non-portable invocation exists in the cpuset
v1 hotplug test.
The scripts only need to pass a single awk program. Use the standard awk
invocation without -e so mount point detection works with awk
implementations that do not support the gawk extension.
Fixes: a8c52eba880a ("kselftest/cgroup: Add cpuset v2 partition root state test")
Fixes: 812c5945bdb8 ("cgroup/cpuset: Add test_cpuset_v1_hp.sh")
Signed-off-by: Rui Qi <qirui.001@bytedance.com>
Acked-by: Waiman Long <longman@redhat.com>
Reviewed-by: Ridong Chen <ridong.chen@linux.dev>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
