2022-12-12 10:16:44

by Thomas Gleixner

[permalink] [raw]
Subject: [GIT pull] core/debugobjects for v6.2-rc1

Linus,

please pull the latest core/debugobjects branch from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-debugobjects-2022-12-10

up to: c4db2d3b70e5: debugobjects: Print object pointer in debug_print_object()

A single update for debugobjetcs:

Add the object pointer to the debug output for better correlation with
other debug facilities.


Thanks,

tglx

------------------>
Stephen Boyd (1):
debugobjects: Print object pointer in debug_print_object()


lib/debugobjects.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/debugobjects.c b/lib/debugobjects.c
index 337d797a7141..4c670d3b6965 100644
--- a/lib/debugobjects.c
+++ b/lib/debugobjects.c
@@ -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++;
}


2022-12-12 21:18:38

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT pull] core/debugobjects for v6.2-rc1

The pull request you sent on Mon, 12 Dec 2022 11:09:00 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-debugobjects-2022-12-10

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f10bc40168032962ebee26894bdbdc972cde35bf

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html