[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Hidden symbol when debugging hypervisor


  • To: "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
  • Date: Wed, 30 Apr 2014 11:02:13 +0200
  • Cc: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 30 Apr 2014 09:02:31 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Cc:Subject:Date:Message-ID: User-Agent:MIME-Version:Content-Transfer-Encoding: Content-Type; b=YABspuROXBN5Cmhka20VOT/2tlIfuEe+Bw5cA8l+nSiiPdvekjywXZiA v7aZJLyUXye8H0w0YTUsis0uyxUBhPsoWYskVI0UKrC9JuC9a2M9Dgaft NGAEfMXql87WkllIx7tQCK/r+BzB5pU8JI4JG/Qzo5kwHmAU0h885hl7T u5fNSIzDFk5MDwF3a8xXfyK9yUnIDrjPVTDjZm0Y402lK+lhl5G9r0vNt lE7MHMyceUGWtB6eIgC9qEkrHi4hJ;
  • List-id: Xen developer discussion <xen-devel.lists.xen.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><b185e>: Abbrev Number: 8 (DW_TAG_structure_type)
    <b185f>   DW_AT_name        : (indirect string, offset: 0x9d8d): 
csched_private
and
 <1><c0677>: Abbrev Number: 25 (DW_TAG_structure_type)
    <c0678>   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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.