Re: [PATCH] soc: qcom: rpmh: Include resource name in the trace event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 07, 2023 at 05:57:13PM +0530, Manivannan Sadhasivam wrote:
> The client drivers of RPMh like rpmhpd and bcm-voter has the name of the
> resource they are dealing with along with the address. So let's include
> the resource name in the RPMh trace event as it avoids doing a post
> processing of the trace event to resolve the resource name its address.
> 

Instead of extending the generic client API to pass the strings in (not
all clients are captured in this patch either), can't we do something
like dumping cmd-db into a trace_print_flags array during initialization
and use __print_symbolic() in TP_printk?

Although...for VRMs we probably want sym+<offset> in the output, so
__print_symbolic() isn't a perfect match...

Regards,
Bjorn



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux