diff options
author | 2011-03-15 18:23:25 -0700 | |
---|---|---|
committer | 2011-03-15 18:23:25 -0700 | |
commit | c345f60a5f58a65004f22fb0d257d65ec1528310 (patch) | |
tree | d82d4a9de6034534a4408495c63f992ed9b524b5 /include/linux | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 (diff) | |
parent | debugobjects: Add hint for better object identification (diff) | |
download | linux-dev-c345f60a5f58a65004f22fb0d257d65ec1528310.tar.xz linux-dev-c345f60a5f58a65004f22fb0d257d65ec1528310.zip |
Merge branch 'core-debugobjects-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-debugobjects-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
debugobjects: Add hint for better object identification
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/debugobjects.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/debugobjects.h b/include/linux/debugobjects.h index 597692f1fc8d..65970b811e22 100644 --- a/include/linux/debugobjects.h +++ b/include/linux/debugobjects.h @@ -34,7 +34,10 @@ struct debug_obj { /** * struct debug_obj_descr - object type specific debug description structure + * * @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 @@ -46,7 +49,7 @@ struct debug_obj { */ 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); |