lkml.org 
[lkml]   [2023]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 05/17] trace: energy_model: Add trace event for EM runtime modifications
From


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.

\
 
 \ /
  Last update: 2023-05-10 09:09    [W:0.095 / U:0.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site