Re: [PATCH 1/2] tools/sched_ext: Add missing -c option in scx_qmap help

From: Zhao mengmeng

Date: Wed Apr 15 2026 - 06:51:37 EST


On April 15, 2026 6:46:22 PM GMT+08:00, Cheng-Yang Chou <yphbchou0911@xxxxxxxxx> wrote:
>Hi Zhao,
>
>On Wed, Apr 15, 2026 at 05:54:17PM +0800, Zhao Mengmeng wrote:
>> diff --git a/tools/sched_ext/scx_qmap.c b/tools/sched_ext/scx_qmap.c
>> index e7c89a2bc3d8..b5fce6dcee14 100644
>> --- a/tools/sched_ext/scx_qmap.c
>> +++ b/tools/sched_ext/scx_qmap.c
>> @@ -32,6 +32,7 @@ const char help_fmt[] =
>> " -P Print out DSQ content and event counters to trace_pipe every second\n"
>> " -M Print out debug messages to trace_pipe\n"
>> " -H Boost nice -20 tasks in SHARED_DSQ, use with -b\n"
>> +" -c CG_PATH Cgroup path to attach as sub-scheduler, must run parent scheduler first\n"
>> " -d PID Disallow a process from switching into SCHED_EXT (-1 for self)\n"
>> " -D LEN Set scx_exit_info.dump buffer length\n"
>> " -S Suppress qmap-specific debug dump\n"
>
>Could you also add [-c CG_PATH] to the usage synopsis in help_fmt?
>Thanks!
>
>Reviewed-by: Cheng-Yang Chou <yphbchou0911@xxxxxxxxx>
>

OK, will do it.