This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/10206] symname() resolves incorrect symbols on ppc


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]