mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-28 10:15:32 -05:00
Merge tag 'core-debugobjects-2022-12-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull debugobjects update from Thomas Gleixner: "A single update for debugobjects: Add the object pointer to the debug output for better correlation with other debug facilities" * tag 'core-debugobjects-2022-12-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: debugobjects: Print object pointer in debug_print_object()
This commit is contained in:
@@ -500,9 +500,9 @@ static void debug_print_object(struct debug_obj *obj, char *msg)
|
||||
descr->debug_hint(obj->object) : NULL;
|
||||
limit++;
|
||||
WARN(1, KERN_ERR "ODEBUG: %s %s (active state %u) "
|
||||
"object type: %s hint: %pS\n",
|
||||
"object: %p object type: %s hint: %pS\n",
|
||||
msg, obj_states[obj->state], obj->astate,
|
||||
descr->name, hint);
|
||||
obj->object, descr->name, hint);
|
||||
}
|
||||
debug_objects_warnings++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user