[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210730100651.of7dd7jzjmzpzfcx@maple.lan>
Date: Fri, 30 Jul 2021 11:06:51 +0100
From: Daniel Thompson <daniel.thompson@...aro.org>
To: Sumit Garg <sumit.garg@...aro.org>
Cc: kgdb-bugreport@...ts.sourceforge.net, jason.wessel@...driver.com,
dianders@...omium.org, rostedt@...dmis.org, mingo@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 0/4] kdb code refactoring
On Mon, Jul 12, 2021 at 07:16:16PM +0530, Sumit Garg wrote:
> Some more kdb code refactoring related to:
> - Removal of redundant kdb_register_flags().
> - Simplification of kdb defcmd macro logic.
>
> Tested with kgdbtest on arm64, doesn't show any regressions.
>
> Changes in v5:
> - Incorporated minor comments from Doug.
> - Added Doug's review tag.
>
> Changes in v4:
> - Split rename of "defcmd_set" to "kdb_macro" as a separate patch.
> - Incorporated misc. comments from Doug.
> - Added a patch that removes redundant prefix "cmd_" from name of
> members of struct kdbtab_t.
>
> Changes in v3:
> - Split patch into 2 for ease of review.
> - Get rid of kdb_register_flags() completely via switching all user to
> register pre-allocated kdb commands.
>
> Changes in v2:
> - Define new structs: kdb_macro_t and kdb_macro_cmd_t instead of
> modifying existing kdb command struct and struct kdb_subcmd.
> - Reword commit message.
>
> Sumit Garg (4):
> kdb: Rename struct defcmd_set to struct kdb_macro
> kdb: Get rid of redundant kdb_register_flags()
> kdb: Simplify kdb_defcmd macro logic
> kdb: Rename members of struct kdbtab_t
Series applied, thanks!
>
> include/linux/kdb.h | 27 +-
> kernel/debug/kdb/kdb_bp.c | 72 ++--
> kernel/debug/kdb/kdb_main.c | 626 +++++++++++++++------------------
> kernel/debug/kdb/kdb_private.h | 13 -
> kernel/trace/trace_kdb.c | 12 +-
> samples/kdb/kdb_hello.c | 20 +-
> 6 files changed, 357 insertions(+), 413 deletions(-)
>
> --
> 2.25.1
Powered by blists - more mailing lists