* [Bug translator/2436] inline function context_switch in IA64 platfrom
2006-03-09 2:12 [Bug translator/2436] New: inline function context_switch in IA64 platfrom bibo dot mao at intel dot com
@ 2006-03-09 2:26 ` bibo dot mao at intel dot com
2006-04-15 5:22 ` aoliva at sourceware dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bibo dot mao at intel dot com @ 2006-03-09 2:26 UTC (permalink / raw)
To: systemtap
------- Additional Comments From bibo dot mao at intel dot com 2006-03-09 02:26 -------
I run test case in elfutils-0.119 package, elfutils-0.119/tests/dwflmodtest, by
the command "./dwflmodtest -i -f -k", about inline function context_switch, it
shows:
kernel/sched.c:1511: context_switch: inline function
inlined from ??? (lowpc => no error) (highpc => no error)
It seems that inline instance has been found, but attributes(file,
lineno,lowpc, highpc) about the inline instance is null. It means that it can
not find instance's position is kernel image.
So I think the dwarf information is incomplete.
And in IA32 platform, dwarf information includes lowpc highpc attributes, it
shows like this:
kernel/sched.c:1518: context_switch: inline function
inlined from ??? 0xc02ac91e..0xc02aca7c
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2436
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/2436] inline function context_switch in IA64 platfrom
2006-03-09 2:12 [Bug translator/2436] New: inline function context_switch in IA64 platfrom bibo dot mao at intel dot com
2006-03-09 2:26 ` [Bug translator/2436] " bibo dot mao at intel dot com
@ 2006-04-15 5:22 ` aoliva at sourceware dot org
2007-04-19 11:25 ` srikar at linux dot vnet dot ibm dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: aoliva at sourceware dot org @ 2006-04-15 5:22 UTC (permalink / raw)
To: systemtap
------- Additional Comments From aoliva at sourceware dot org 2006-04-15 05:22 -------
Could it be that the problem is just that GCC uses a DW_AT_ranges tag to
represent the non-contiguous address ranges corresponding to the inlined
function code? The info looks right to me.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |aoliva at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=2436
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/2436] inline function context_switch in IA64 platfrom
2006-03-09 2:12 [Bug translator/2436] New: inline function context_switch in IA64 platfrom bibo dot mao at intel dot com
2006-03-09 2:26 ` [Bug translator/2436] " bibo dot mao at intel dot com
2006-04-15 5:22 ` aoliva at sourceware dot org
@ 2007-04-19 11:25 ` srikar at linux dot vnet dot ibm dot com
2007-05-05 14:19 ` fche at redhat dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: srikar at linux dot vnet dot ibm dot com @ 2007-04-19 11:25 UTC (permalink / raw)
To: systemtap
------- Additional Comments From srikar at linux dot vnet dot ibm dot com 2007-04-19 12:25 -------
The problem was also hit while testing of 20070414 snapshot on PPC64
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2436
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/2436] inline function context_switch in IA64 platfrom
2006-03-09 2:12 [Bug translator/2436] New: inline function context_switch in IA64 platfrom bibo dot mao at intel dot com
` (2 preceding siblings ...)
2007-04-19 11:25 ` srikar at linux dot vnet dot ibm dot com
@ 2007-05-05 14:19 ` fche at redhat dot com
2007-08-17 0:39 ` wcohen at redhat dot com
2010-05-21 19:43 ` fche at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2007-05-05 14:19 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2007-05-05 15:19 -------
Some new code in tapsets.cxx now looks at the inlined functions' "aranges" data.
Does this problem still exist on ia64? (Separately, we know that *arguments* to
inlined functions are sometimes invisible, but that's a different bug #1155).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=2436
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/2436] inline function context_switch in IA64 platfrom
2006-03-09 2:12 [Bug translator/2436] New: inline function context_switch in IA64 platfrom bibo dot mao at intel dot com
` (3 preceding siblings ...)
2007-05-05 14:19 ` fche at redhat dot com
@ 2007-08-17 0:39 ` wcohen at redhat dot com
2010-05-21 19:43 ` fche at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: wcohen at redhat dot com @ 2007-08-17 0:39 UTC (permalink / raw)
To: systemtap
------- Additional Comments From wcohen at redhat dot com 2007-08-16 18:34 -------
On the RHEL4 ia64 2.6.9-55.0.2.EL kernel the "context_switch" is a real function:
$ nm /usr/lib/debug/lib/modules/2.6.9-55.0.2.EL/vmlinux |grep context_switch
a00000010006a920 t context_switch
a00000010006b4e0 T nr_context_switches
On the 2.6.23-rc3 kernel built with the RHEL4 gcc 3.4 "context_switch" is
inlined. output from
./build-elfutils/tests/dwflmodtest -if -K2.6.23-rc3
kernel/sched.c:1834: context_switch: inline function
inlined at kernel/sched.c:3487 (lowpc => no error) (highpc => no error)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2436
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug translator/2436] inline function context_switch in IA64 platfrom
2006-03-09 2:12 [Bug translator/2436] New: inline function context_switch in IA64 platfrom bibo dot mao at intel dot com
` (4 preceding siblings ...)
2007-08-17 0:39 ` wcohen at redhat dot com
@ 2010-05-21 19:43 ` fche at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2010-05-21 19:43 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2010-05-21 19:33 -------
Long ago the translator learned heuristics about lowpc vs aranges vs. inlining;
current stap code appears to work ok on older rhels.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
http://sourceware.org/bugzilla/show_bug.cgi?id=2436
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread