From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dietmar Hahn Subject: Hidden symbol when debugging hypervisor Date: Wed, 30 Apr 2014 11:02:13 +0200 Message-ID: <2039026.XfIYG36Q6e@amur> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" Cc: George Dunlap List-Id: xen-devel@lists.xenproject.org Hi, while debugging a vmcore with the crash tool I stumpled over a little problem. I wanted to look at the "struct csched_private" of credit scheduler and got the contents of the "struct csched_private" of credit2. The debug informations of the hypervisor contain 2 entries <1>: Abbrev Number: 8 (DW_TAG_structure_type) DW_AT_name : (indirect string, offset: 0x9d8d): csched_private and <1>: Abbrev Number: 25 (DW_TAG_structure_type) DW_AT_name : (indirect string, offset: 0x9d8d): csched_private The first is credit and the second credit2. It seems in the crash command the second entry wins :-(. Maybe crash has the possibility somewhere to get access to the second structure (I couldn't find it) but for simplicity it would be better to have different names I think. Are there any reasons not to rename struct csched_private -> struct c2sched_private or whatever? Thanks. Dietmar. -- Company details: http://ts.fujitsu.com/imprint.html