Re: [PATCH v2] Add power/gpu_frequency tracepoint.

From: Steven Rostedt
Date: Thu Aug 13 2020 - 17:50:42 EST


On Thu, 13 Aug 2020 14:37:03 -0700
Peiyong Lin <lpy@xxxxxxxxxx> wrote:

> Historically there is no common trace event for GPU frequency, in
> downstream Android each different hardware vendor implements their own
> way to expose GPU frequency, for example as a debugfs node. This patch
> standardize it as a common trace event in upstream linux kernel to help
> the ecosystem have a common implementation across hardware vendors.
> Toolings in the Linux ecosystem will benefit from this especially in the
> downstream Android, where this information is critical to graphics
> developers.
>
> Signed-off-by: Peiyong Lin <lpy@xxxxxxxxxx>
> ---
>
> Changelog since v1:
> - Use %u in TP_printk
>

For just the tracing side of this, but the use case is up for others to do:

Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve