[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1677612539.git.jbaron@akamai.com>
Date: Tue, 28 Feb 2023 14:34:20 -0500
From: Jason Baron <jbaron@...mai.com>
To: jim.cromie@...il.com
Cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
linux-modules@...r.kernel.org
Subject: [PATCH v2 0/2] dyndbg: let's use the module notifier callback
Hi,
Jim Cromie hit a BUG() while toggling jump label branches in a module
before they were properly initialized. This isn't currently an issue,
but will be as part of his pending classmap series. Seems like we
should covert to using module callback notifier for dynamic debug
anyways. First patch is just a cleanup.
Link: https://lore.kernel.org/lkml/20230113193016.749791-21-jim.cromie@xxxxxxxxx/
Thanks,
-Jason
v2:
-Fix: error: field 'dyndbg_info' has incomplete type
Reported-by: kernel test robot <lkp@...el.com>
Link: https://lore.kernel.org/oe-kbuild-all/202302190427.9iIK2NfJ-lkp@intel.com/
-make ddebug_remove_module() static
Jason Baron (2):
dyndbg: remove unused 'base' arg from __ddebug_add_module()
dyndbg: use the module notifier callbacks
include/linux/dynamic_debug.h | 13 ---------
include/linux/module.h | 4 +++
kernel/module/internal.h | 2 --
kernel/module/main.c | 30 ++++++---------------
lib/dynamic_debug.c | 51 ++++++++++++++++++++++++++++-------
5 files changed, 53 insertions(+), 47 deletions(-)
--
2.17.1
Powered by blists - more mailing lists