Messages in this thread | | | Date | Thu, 9 May 2024 11:32:12 +0530 | Subject | Re: [RFC 0/4] perf sched: Introduce schedstat tool | From | Ravi Bangoria <> |
| |
>> 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 # perf sched stat report
> Also I think it'd be easier if you also provide 'live' mode so that > users can skip record + report steps and run the workload > directly like uftrace does. :) > > Something like this > > # perf sched cpustat myworkload > (result here ...)
Sure.
Thanks for the feedback, Ravi
| |