Re: [PATCH 0/3] dyndbg: add source file name to prefix

From: Thomas Weißschuh
Date: Mon Mar 20 2023 - 18:13:32 EST


Hi Jim,

did you get a chance to look at this yet?

Thanks,
Thomas

On Mon, Jan 30, 2023 at 02:01:17AM +0000, Thomas Weißschuh wrote:
> Currently dyndbg has no facility to print the source file name of a
> debug statement.
> Without the source file the line number is of limited use.
> Also the dyndbg control file uses the filename as the primary index, so
> having it in the logmessage makes the relation clearer.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> ---
> Thomas Weißschuh (3):
> dyndbg: constify opt_array
> dyndbg: increase PREFIX_SIZE to 128
> dyndbg: add source filename to prefix
>
> Documentation/admin-guide/dynamic-debug-howto.rst | 5 +++--
> include/linux/dynamic_debug.h | 4 +++-
> lib/dynamic_debug.c | 8 ++++++--
> 3 files changed, 12 insertions(+), 5 deletions(-)
> ---
> base-commit: 6d796c50f84ca79f1722bb131799e5a5710c4700
> change-id: 20221223-dyndbg-filename-02e0879dae4b
>
> Best regards,
> --
> Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
>