Re: [RFC PATCH 1/5] tracing/hwlat: Add a cpus file specific for hwlat_detector

2021-04-15 Thread Daniel Bristot de Oliveira
On 4/15/21 3:49 PM, Steven Rostedt wrote: > OK, for osnoise, I can see how it is useful. But as you said above, for > hwlat tracer, it's not as useful. I agree, it is not as useful. -- Daniel

Re: [RFC PATCH 1/5] tracing/hwlat: Add a cpus file specific for hwlat_detector

2021-04-15 Thread Steven Rostedt
On Thu, 15 Apr 2021 15:09:50 +0200 Daniel Bristot de Oliveira wrote: > But for the osnoise tracer the cpus file is really useful. For instance, on a > system with the CPU 7 isolated: > > - %< - > # echo 7 > osnoise/cpus > # echo target_cpu == 7 > events/sched/sched_wakeup/filter >

Re: [RFC PATCH 1/5] tracing/hwlat: Add a cpus file specific for hwlat_detector

2021-04-15 Thread Daniel Bristot de Oliveira
On 4/14/21 4:10 PM, Steven Rostedt wrote: > On Thu, 8 Apr 2021 16:13:19 +0200 > Daniel Bristot de Oliveira wrote: > >> Provides a "cpus" interface to the hardware latency detector. By >> default, it lists all CPUs, allowing hwlatd threads to run on any online >> CPU of the system. >> >> It

Re: [RFC PATCH 1/5] tracing/hwlat: Add a cpus file specific for hwlat_detector

2021-04-14 Thread Steven Rostedt
On Thu, 8 Apr 2021 16:13:19 +0200 Daniel Bristot de Oliveira wrote: > Provides a "cpus" interface to the hardware latency detector. By > default, it lists all CPUs, allowing hwlatd threads to run on any online > CPU of the system. > > It serves to restrict the execution of hwlatd to the set of

[RFC PATCH 1/5] tracing/hwlat: Add a cpus file specific for hwlat_detector

2021-04-08 Thread Daniel Bristot de Oliveira
Provides a "cpus" interface to the hardware latency detector. By default, it lists all CPUs, allowing hwlatd threads to run on any online CPU of the system. It serves to restrict the execution of hwlatd to the set of CPUs writing via this interface. Note that hwlatd also respects the