Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dyndbg: unwrap __ddebug_add_module inner function NOTYET
The inner func has a base arg which is unused in the body, so theres no point in having the inner fn. Its one-time purpose was to expose a wider interface to the internal caller: dynamic_debug_init(), to allow communicating each module's offset in the builtin _ddebug[] table. That purpose was obsoleted by cited commit, when ddebug_add_module() was converted to pass a *ddebug_info, which is used as a cursor by the caller. TODO: the cited commit gives another reason for base, to provide an index in support of de-duplicating column data. Refresh that patchset to see if its still true. Fixes: b7b4eeb ("dyndbg: gather __dyndbg[] state into struct _ddebug_info") Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
- Loading branch information