1STRUCT DEBUG_OBJ_DES(9)         Fixup functions        STRUCT DEBUG_OBJ_DES(9)
2
3
4

NAME

6       struct_debug_obj_descr - object type specific debug description
7       structure
8

SYNOPSIS

10       struct debug_obj_descr {
11         const char * name;
12         void *(* debug_hint) (void *addr);
13         int (* fixup_init) (void *addr, enum debug_obj_state state);
14         int (* fixup_activate) (void *addr, enum debug_obj_state state);
15         int (* fixup_destroy) (void *addr, enum debug_obj_state state);
16         int (* fixup_free) (void *addr, enum debug_obj_state state);
17         int (* fixup_assert_init) (void *addr, enum debug_obj_state state);
18       };
19

MEMBERS

21       name
22           name of the object typee
23
24       debug_hint
25           function returning address, which have associated kernel symbol, to
26           allow identify the object
27
28       fixup_init
29           fixup function, which is called when the init check fails
30
31       fixup_activate
32           fixup function, which is called when the activate check fails
33
34       fixup_destroy
35           fixup function, which is called when the destroy check fails
36
37       fixup_free
38           fixup function, which is called when the free check fails
39
40       fixup_assert_init
41           fixup function, which is called when the assert_init check fails
42

AUTHOR

44       Thomas Gleixner <tglx@linutronix.de>
45           Author.
46
48Kernel Hackers Manual 3.10         June 2019           STRUCT DEBUG_OBJ_DES(9)
Impressum