Re: [PATCH v1 2/4] misc: fastrpc: Capture kernel and DSP performance counters

From: Greg KH
Date: Mon Oct 07 2024 - 05:07:24 EST


On Mon, Oct 07, 2024 at 02:15:16PM +0530, Ekansh Gupta wrote:
> Add support to capture kernel performance counters for different
> kernel level operations. These counters collects the information
> for remote call and copies the information to a buffer shared
> by user.
>
> Collection of DSP performance counters is also added as part of
> this change. DSP updates the performance information in the
> metadata which is then copied to a buffer passed by the users.

"also" usually means "should be broken up into a new patch", right?

Also, where is any of these new "performance counters" documented? Why
not use the normal kernel apis for performance counters?

thanks,

greg k-h