[PATCH v8 09/11] media: chips-media: wave6: Add performance profiling

Nas Chung nas.chung at chipsnmedia.com
Mon Nov 23 01:18:13 PST 2026


Hi, Frank.

>-----Original Message-----
>From: Frank Li <Frank.li at oss.nxp.com>
>Sent: Friday, November 20, 2026 5:56 AM
>To: Nas Chung <nas.chung at chipsnmedia.com>
>Cc: mchehab at kernel.org; hverkuil at kernel.org; robh at kernel.org;
>krzk+dt at kernel.org; conor+dt at kernel.org; Frank.Li at nxp.com;
>s.hauer at pengutronix.de; linux-media at vger.kernel.org;
>devicetree at vger.kernel.org; linux-kernel at vger.kernel.org;
>imx at lists.linux.dev; linux-arm-kernel at lists.infradead.org;
>festevam at gmail.com; kernel at pengutronix.de; nicolas.dufresne at collabora.com;
>ming.qian at oss.nxp.com; marek.vasut at mailbox.org; jackson.lee
><jackson.lee at chipsnmedia.com>; lafley.kim <lafley.kim at chipsnmedia.com>
>Subject: Re: [PATCH v8 09/11] media: chips-media: wave6: Add performance
>profiling
>
>On Thu, Nov 19, 2026 at 06:00:03PM +0900, Nas Chung wrote:
>> Add per-instance performance profiling to help identify whether a
>> throughput problem comes from the firmware or from the host side.
>
>why not register as perf interface?

The numbers are kept per instance (per open file). Each instance has
its own fps, latency and min/max frame time, and they are updated each
time one of its frames is done.

As far as I know, perf can only count per CPU or per task, and a device
PMU usually counts for the whole system. So perf would only show the
total of all instances, and we could not get the min/max frame time
from it.

Thanks.
Nas.

>
>Frank
>



More information about the linux-arm-kernel mailing list