From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: "Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>,
Jeremy Fitzhardinge <jeremy@goop.org>
Subject: PVOPS: missing some xen symbols in vmlinux
Date: Thu, 26 May 2011 18:59:57 -0700 [thread overview]
Message-ID: <20110526185957.776d2b16@mantra.us.oracle.com> (raw)
Hi Jeremy,
I noticed in PVOPS kernels that lot of the xen functions in arch/x86/xen
are not properly symbolized in vmlinux.
These symbols show up just fine in arch/x86/built-in.o, but seem to be
getting dropped along the way, it appears in the following step:
ld -m elf_x86_64 --build-id -o .tmp_vmlinux1 -T arch/x86/kernel/vmlinux.lds arch/x86/kernel/head_64.o arch/x86/kernel/head64.o arch/x86/kernel/head.o arch/x86/kernel/init_task.o init/built-in.o --start-group usr/built-in.o arch/x86/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o block/built-in.o lib/lib.a arch/x86/lib/lib.a lib/built-in.o arch/x86/lib/built-in.o drivers/built-in.o sound/built-in.o firmware/built-in.o arch/x86/pci/built-in.o arch/x86/power/built-in.o arch/x86/video/built-in.o net/built-in.o --end-group
[mantra]../linux-2.6.39-mine/obj> nm .tmp_vmlinux1|grep xen_start_k
ffffffff818c5b42 T xen_start_kernel
bash> gdb .tmp_vmlinux1
(gdb) disass xen_start_kernel
No function contains specified address.
(gdb) disass 0xffffffff818c5b42
No function contains specified address.
(gdb) disass native_read_cr4_safe
Dump of assembler code for function native_read_cr4_safe:
0xffffffff8100300e <native_read_cr4_safe+0>: push %rbp
0xffffffff8100300f <native_read_cr4_safe+1>: mov %rsp,%rbp
...
(gdb) disass xen_write_cr3
Dump of assembler code for function __brk_reservation_fn_level1_ident_pgt__:
End of assembler dump.
(gdb) disass arch_pick_mmap_layout
Dump of assembler code for function arch_pick_mmap_layout:
0xffffffff81039bcb <arch_pick_mmap_layout+0>: push %rbp
0xffffffff81039bcc <arch_pick_mmap_layout+1>: mov %rsp,%rbp
(gdb) disass raw_pci_read
Dump of assembler code for function raw_pci_read:
0xffffffff813f82ac <raw_pci_read+0>: push %rbp
0xffffffff813f82ad <raw_pci_read+1>: mov %rsp,%rbp
...
(gdb) disass make_lowmem_page_readonly
Dump of assembler code for function __brk_reservation_fn_level1_ident_pgt__:
End of assembler dump.
bash> gdb vmlinux
(gdb) disass make_lowmem_page_readonly
Dump of assembler code for function __brk_reservation_fn_level1_ident_pgt__:
End of assembler dump.
I am trying to figure out what is it about those xen functions, any
thoughts?
thanks,
Mukesh
next reply other threads:[~2011-05-27 1:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 1:59 Mukesh Rathor [this message]
2011-05-28 1:04 ` PVOPS: missing some xen symbols in vmlinux Jeremy Fitzhardinge
2011-05-28 1:44 ` Mukesh Rathor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110526185957.776d2b16@mantra.us.oracle.com \
--to=mukesh.rathor@oracle.com \
--cc=Xen-devel@lists.xensource.com \
--cc=jeremy@goop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).