Re: [RFC 0/4] perf sched: Introduce schedstat tool
From: Ravi Bangoria
Date: Fri May 10 2024 - 00:46:41 EST
>>>> USAGE
>>>> -----
>>>>
>>>> # perf sched schedstat record
>>>> # perf sched schedstat report
>>>
>>> Hmm. I think we can remove the duplication in 'sched'. :)
>>
>> You mean `perf sched stat record/report` ?
>>
>>> Given you are thinking of taskstat, how about making it
>>> 'cpustat' instead?
>>
>> Sure. How about:
>>
>> # perf sched stat --cpu --task record
>
> If you plan to support both cpu and task at the same time,
> then I'm ok with this. But if they're mutually exclusive, then
> probably you want to have them as sub-commands.
Sure, will think about it while preparing next version.
Thanks,
Ravi