diff options
author | Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com> | 2013-11-11 17:56:55 +0900 |
---|---|---|
committer | Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> | 2013-11-11 17:56:55 +0900 |
commit | 7dc6cb66502b08b146a0ef6adbcf232e9c69d011 (patch) | |
tree | 35caa50fad83dc80c3e09968e3031172168f9a1b /erase_info.h | |
parent | 20ecc0827e7837c52f3903638a59959f8bf17f9e (diff) |
[PATCH v2] Add support to module data structures.
Current version of makedumpfile/eppic integration patches works only for
data structures in vmlinux. This patch adds support to module data structures.
Changes from v1:
Fix return value when failed to set dwarf_debuginfo
Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Diffstat (limited to 'erase_info.h')
-rw-r--r-- | erase_info.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/erase_info.h b/erase_info.h index ae740ce..a90fac0 100644 --- a/erase_info.h +++ b/erase_info.h @@ -32,9 +32,12 @@ struct erase_info { }; unsigned long long get_symbol_addr_all(char *); +long get_domain_all(char *, int, unsigned long long *); +int get_die_member_all(unsigned long long die_off, int index, long *offset, + char **name, int *nbits, int *fbits, unsigned long long *m_die); struct call_back { - long (*get_domain)(char *, int, unsigned long long *); + long (*get_domain_all)(char *, int, unsigned long long *); int (*readmem)(int type_addr, unsigned long long addr, void *bufptr, size_t size); int (*get_die_attr_type)(unsigned long long die_off, int *type_flag, @@ -42,8 +45,9 @@ struct call_back { char * (*get_die_name)(unsigned long long die_off); unsigned long long (*get_die_offset)(char *sysname); int (*get_die_length)(unsigned long long die_off, int flag); - int (*get_die_member)(unsigned long long die_off, int index, long *offset, - char **name, int *nbits, int *fbits, unsigned long long *m_die); + int (*get_die_member_all)(unsigned long long die_off, int index, + long *offset, char **name, int *nbits, int *fbits, + unsigned long long *m_die); int (*get_die_nfields)(unsigned long long die_off); unsigned long long (*get_symbol_addr_all)(char *symname); int (*update_filter_info_raw)(unsigned long long, int, int); |