struct_debug_obj_descr(9)

struct_debug_obj_descr9

Object type specific debug description structure

Usage

struct debug_obj_descr {
  const char * name;
  void *(* debug_hint) (void *addr);
  bool (* is_static_object) (void *addr);
  bool (* fixup_init) (void *addr, enum debug_obj_state state);
  bool (* fixup_activate) (void *addr, enum debug_obj_state state);
  bool (* fixup_destroy) (void *addr, enum debug_obj_state state);
  bool (* fixup_free) (void *addr, enum debug_obj_state state);
  bool (* fixup_assert_init) (void *addr, enum debug_obj_state state);
};  

Members

name

name of the object typee

debug_hint

function returning address, which have associated kernel symbol, to allow identify the object

is_static_object

return true if the obj is static, otherwise return false

fixup_init

fixup function, which is called when the init check fails. All fixup functions must return true if fixup was successful, otherwise return false

fixup_activate

fixup function, which is called when the activate check fails

fixup_destroy

fixup function, which is called when the destroy check fails

fixup_free

fixup function, which is called when the free check fails

fixup_assert_init

fixup function, which is called when the assert_init check fails

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Author

Thomas Gleixner <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.