---
name: "struct_debug_obj_descr"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_debug_obj_descr"
---

# struct\_debug\_obj\_descr(9)

object type specific debug description structure

## NAME

struct\_debug\_obj\_descr - object type specific debug description structure

## SYNOPSIS

```
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

## AUTHOR

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

## COPYRIGHT
