diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-15 18:23:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-15 18:23:25 -0700 |
commit | c345f60a5f58a65004f22fb0d257d65ec1528310 (patch) | |
tree | d82d4a9de6034534a4408495c63f992ed9b524b5 /include | |
parent | 422e6c4bc4b48c15b3cb57a1ca71431abfc57e54 (diff) | |
parent | 997772884036e6e121de39322179989154437d9f (diff) | |
download | linux-c345f60a5f58a65004f22fb0d257d65ec1528310.tar.bz2 |
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')
-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); |