struct debug_obj_descr
Prev | Debug object type description structure | Next

## Name

struct debug_obj_descr — object type specific debug description structure

## Synopsis

    struct debug_obj_descr {
      const char * name;
      void *(* debug_hint) (void *addr);
      int (* fixup_init) (void *addr, enum debug_obj_state state);
      int (* fixup_activate) (void *addr, enum debug_obj_state state);
      int (* fixup_destroy) (void *addr, enum debug_obj_state state);
      int (* fixup_free) (void *addr, enum debug_obj_state state);
      int (* 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

fixup_init

  fixup function, which is called when the init check fails

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

Prev | Up | Next
struct debug_obj | Home | fixup_init