This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/10206] symname() resolves incorrect symbols on ppc
- From: "ananth at in dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 28 May 2009 10:01:42 -0000
- Subject: [Bug tapsets/10206] symname() resolves incorrect symbols on ppc
- References: <20090527115017.10206.prerna@linux.vnet.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From ananth at in dot ibm dot com 2009-05-28 10:01 -------
The typical case when this lookup fails is when trying to decode what the
function pointer passed to a notifier is. For the current case, we were getting
addresses corresponding to the 'd' (NOTYPE) symbols below:
[root@llm27lp1 ~]# nm --format=sysv /boot/vmlinux-2.6.30-rc7 |grep migration_call
.migration_call |c0000000004e626c| t |
FUNC|0000000000000770| |.cpuinit.text
migration_call |c000000000754560| d |
NOTYPE|0000000000000018| |.opd
[root@llm27lp1 ~]# nm --format=sysv /boot/vmlinux-2.6.30-rc7 |grep ratelimit_handler
.ratelimit_handler |c0000000004e8808| t |
FUNC|0000000000000038| |.cpuinit.text
ratelimit_handler |c00000000075e9f0| d |
NOTYPE|0000000000000018| |.opd
[root@llm27lp1 ~]# nm --format=sysv /boot/vmlinux-2.6.30-rc7 |grep
rcu_barrier_cpu_hotplug
.rcu_barrier_cpu_hotplug|c0000000004e77cc| t |
FUNC|0000000000000138| |.cpuinit.text
rcu_barrier_cpu_hotplug|c0000000007570c0| d |
NOTYPE|0000000000000018| |.opd
rcu_barrier_cpu_hotplug_nb.15462|c0000000006c1150| d |
OBJECT|0000000000000018| |.data
[root@llm27lp1 ~]# nm --format=sysv /boot/vmlinux-2.6.30-rc7 |grep
vmstat_cpuup_callback
.vmstat_cpuup_callback|c0000000004e88fc| t |
FUNC|0000000000000118| |.cpuinit.text
vmstat_cpuup_callback|c00000000075f6c0| d |
NOTYPE|0000000000000018| |.opd
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10206
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.