Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\debugobjects.c Create Date:2022-07-28 06:55:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:debug_print_object

Proto:static void debug_print_object(struct debug_obj *obj, char *msg)

Type:void

Parameter:

TypeParameterName
struct debug_obj *obj
char *msg
478  descr = descr
481  If limit < 5 && descr != descr_test Then
482  void * hint = debug_hint ? debug_hint(object) : NULL
484  limit++
485  WARN(1, r conditions "ODEBUG: %s %s (active state %u) object type: %s hint: %pS\n", msg, obj_states[state], astate, name, hint)
490  debug_objects_warnings++
Caller
NameDescribe
__debug_object_init
debug_object_activatedebug_object_activate - debug checks when an object is activated*@addr: address of the object*@descr: pointer to an object specific debug description structure* Returns 0 for success, -EINVAL for check failed.
debug_object_deactivatedebug_object_deactivate - debug checks when an object is deactivated*@addr: address of the object*@descr: pointer to an object specific debug description structure
debug_object_destroydebug_object_destroy - debug checks when an object is destroyed*@addr: address of the object*@descr: pointer to an object specific debug description structure
debug_object_freedebug_object_free - debug checks when an object is freed*@addr: address of the object*@descr: pointer to an object specific debug description structure
debug_object_assert_initdebug_object_assert_init - debug checks when object should be init-ed*@addr: address of the object*@descr: pointer to an object specific debug description structure
debug_object_active_statedebug_object_active_state - debug checks object usage state machine*@addr: address of the object*@descr: pointer to an object specific debug description structure*@expect: expected state*@next: state to move to if expected state is found