All of lore.kernel.org
 help / color / mirror / Atom feed
* Hidden symbol when debugging hypervisor
@ 2014-04-30  9:02 Dietmar Hahn
  2014-04-30  9:26 ` George Dunlap
  0 siblings, 1 reply; 15+ messages in thread
From: Dietmar Hahn @ 2014-04-30  9:02 UTC (permalink / raw)
  To: xen-devel@lists.xen.org; +Cc: George Dunlap

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-04-30 15:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-30  9:02 Hidden symbol when debugging hypervisor Dietmar Hahn
2014-04-30  9:26 ` George Dunlap
2014-04-30  9:39   ` Juergen Gross
2014-04-30 10:07     ` George Dunlap
2014-04-30 10:21       ` Jan Beulich
2014-04-30 11:28         ` Andrew Cooper
2014-04-30 13:16           ` Jan Beulich
2014-04-30 14:08             ` Andrew Cooper
2014-04-30 14:16               ` Jan Beulich
2014-04-30 14:32                 ` Andrew Cooper
2014-04-30 14:49                   ` Jan Beulich
2014-04-30 14:57                     ` George Dunlap
2014-04-30 15:23                       ` Jan Beulich
2014-04-30 14:58                     ` Andrew Cooper
2014-04-30 10:10     ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.