]> git.baikalelectronics.ru Git - kernel.git/commit
kobject: show debug info on delayed kobject release
authorFengguang Wu <fengguang.wu@intel.com>
Wed, 9 Oct 2013 01:26:21 +0000 (09:26 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Oct 2013 20:56:52 +0000 (13:56 -0700)
commit1b98fd50b26b02e429a3ddff7ee405e5280c8df5
treea978c59f375936c7e37c67a61dc08821a5e674bb
parent85cbfc8e41e59c7812bc522875f2c8279e9200d7
kobject: show debug info on delayed kobject release

Useful for locating buggy drivers on kernel oops.

It may add dozens of new lines to boot dmesg. DEBUG_KOBJECT_RELEASE is
hopefully only enabled in debug kernels (like maybe the Fedora rawhide
one, or at developers), so being a bit more verbose is likely ok.

Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/kobject.c