summaryrefslogtreecommitdiff
path: root/extension_eppic.h
diff options
context:
space:
mode:
authorAravinda Prasad <aravinda@linux.vnet.ibm.com>2014-02-27 15:20:41 +0900
committerAtsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>2014-03-03 14:57:47 +0900
commitf77be84203115ab80be099e4a5e1bfe029da6162 (patch)
tree1982a427dd55cd7267c053577c681bbc88debf37 /extension_eppic.h
parentd1bd9f96f0cefb44c80745fe8246d652d2bf319f (diff)
[PATCH] eppic: Add support to module data structures.
When trying to refer a module data structure GET_DIE_NFIELDS does not set the dwarf_info to the right module. For instance: struct ap_device { ... struct list_head list; ... }; struct ap_device *dev; As a result, it was able to resolve only dev->list and it was failing to resolve dev->list.next. The patch takes care of handling this by introducing GET_DIE_NFIELDS_ALL which takes care of setting the dwarf_info to the appropriate module. Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Diffstat (limited to 'extension_eppic.h')
-rw-r--r--extension_eppic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension_eppic.h b/extension_eppic.h
index 42437f2..24189ba 100644
--- a/extension_eppic.h
+++ b/extension_eppic.h
@@ -88,7 +88,7 @@ struct call_back *cb;
#define GET_DIE_OFFSET cb->get_die_offset
#define GET_DIE_LENGTH cb->get_die_length
#define GET_DIE_MEMBER_ALL cb->get_die_member_all
-#define GET_DIE_NFIELDS cb->get_die_nfields
+#define GET_DIE_NFIELDS_ALL cb->get_die_nfields_all
#define GET_SYMBOL_ADDR_ALL cb->get_symbol_addr_all
#define UPDATE_FILTER_INFO_RAW cb->update_filter_info_raw