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;
|
descr->debug_hint(obj->object) : NULL;
|
||||||
limit++;
|
limit++;
|
||||||
WARN(1, KERN_ERR "ODEBUG: %s %s (active state %u) "
|
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,
|
msg, obj_states[obj->state], obj->astate,
|
||||||
descr->name, hint);
|
obj->object, descr->name, hint);
|
||||||
}
|
}
|
||||||
debug_objects_warnings++;
|
debug_objects_warnings++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user