[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YmasYv5xHH7EbXXn@kroah.com>
Date: Mon, 25 Apr 2022 16:12:50 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Lukasz Luba <lukasz.luba@....com>
Cc: linux-kernel@...r.kernel.org, sudeep.holla@....com,
dietmar.eggemann@....com, vincent.guittot@...aro.org,
rafael@...nel.org, rostedt@...dmis.org, mingo@...hat.com
Subject: Re: [PATCH v2] arch_topology: Trace the update thermal pressure
On Mon, Apr 25, 2022 at 02:53:17PM +0100, Lukasz Luba wrote:
> Add trace event to capture the moment of the call for updating the thermal
> pressure value. It's helpful to investigate how often those events occurs
> in a system dealing with throttling. This trace event is needed since the
> old 'cdev_update' might not be used by some drivers. Also, the new trace
> event shows capacity value, not a cooling state.
Wait, why are thermal events not going through the thermal system so
that thermal_cdev_update() would catch them? Don't work around broken
systems, force them to use the correct apis.
thanks,
greg k-h
Powered by blists - more mailing lists