Re: [PATCH resend ] tracepoint: Print the function symbol when tracepoint_debug is set

From: Shijie Huang
Date: Thu Mar 06 2025 - 22:03:50 EST



On 2025/3/7 0:37, Mathieu Desnoyers wrote:

I think we could just print %Sb

e.g. from core-api/printk-formats.rst:

        %pSb    versatile_init+0x0/0x110 [module_name ed5019fdf5e53be37cb1ba7899292d7e143b259e]

AFAIU, when the kallsyms_lookup_buildid fails, it prints the raw address instead
(see __sprint_symbol).

okay, I will use "%pSb" in version v2 later.


Thanks

Huang Shijie