Messages in this thread | | | Date | Wed, 10 May 2023 07:59:37 +0100 | Subject | Re: [PATCH 05/17] trace: energy_model: Add trace event for EM runtime modifications | From | Lukasz Luba <> |
| |
On 4/11/23 16:39, Pierre Gondois wrote: > Hello Lukasz, > Just a suggestion, maybe it would be good to trace the CPUs affected by
We print the device name in the trace event, which would be the first CPU in the frequency domain.
> the modification. It is possible to retrieve this information by going > to /sys/kernel/debug/energy_model/xxx/cpus, but might be simpler when > parsing a trace.
We don't want to introduce an array of CPUs, or a name like cpus0-3, which than has to be parsed in more complex way. Also, the other devices like GPU might use this trace event, so I just wanted to keep it simple and generic to handle them all.
| |