Skip to content

dyndbg: let's use the module notifier callback

Jason Baron linux-modules lkml llvm oe-kbuild-all 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v22 patches 9 repliesSuperseded
  3. v12 patches 1 replySuperseded

Changes in v3 from the cover letter

-rebased to modules-next tree
-updated changelog as per Luis Chamberlain's suggestions

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dyndbg: remove unused 'base' arg from __ddebug_add_module()lib/dynamic_debug.c+4 -51 reply
2/2dyndbg: use the module notifier callbacksinclude/linux/dynamic_debug.h include/linux/module.h kernel/module/internal.h +2 more+53 -462 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJim CromieVincenzo Palazzo
1/2T-b R-b
2/2T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 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 to match other subsystems and remove core module code. First patch is just a cleanup.

I've rebased this series onto modules-next tree. Although the first patch is a cleanup entirely internal to dynamic debug I think it's a nice cleanup to have as part of this series.

Thanks,

-Jason

v3:
-rebased to modules-next tree
-updated changelog as per Luis Chamberlain's suggestions

v2:
-Fix: error: field 'dyndbg_info' has incomplete type

-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(-)
Signature · 1 line
2.17.1