mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
dyndbg: rename __verbose section to __dyndbg
dyndbg populates its callsite info into __verbose section, change that to a more specific and descriptive name, __dyndbg. Also, per checkpatch: simplify __attribute(..) to __section(__dyndbg) declaration. and 1 spelling fix, decriptor Acked-by: <jbaron@akamai.com> Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Link: https://lore.kernel.org/r/20200719231058.1586423-6-jim.cromie@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
481c0e33f1
commit
e5ebffe18e
4 changed files with 12 additions and 12 deletions
|
@ -80,7 +80,7 @@ void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
|
|||
|
||||
#define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \
|
||||
static struct _ddebug __aligned(8) \
|
||||
__attribute__((section("__verbose"))) name = { \
|
||||
__section(__dyndbg) name = { \
|
||||
.modname = KBUILD_MODNAME, \
|
||||
.function = __func__, \
|
||||
.filename = __FILE__, \
|
||||
|
@ -133,7 +133,7 @@ void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
|
|||
|
||||
/*
|
||||
* "Factory macro" for generating a call to func, guarded by a
|
||||
* DYNAMIC_DEBUG_BRANCH. The dynamic debug decriptor will be
|
||||
* DYNAMIC_DEBUG_BRANCH. The dynamic debug descriptor will be
|
||||
* initialized using the fmt argument. The function will be called with
|
||||
* the address of the descriptor as first argument, followed by all
|
||||
* the varargs. Note that fmt is repeated in invocations of this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue