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 translator/4915] Incorrect code for accessing function argument


------- Additional Comments From wcohen at redhat dot com  2007-08-13 14:26 -------
Isn't 2.6.9-55.ELsmp an older kernel? Current RHEL4 is 2.6.9-55.0.2.EL. Does the
debug information for the sys_open function look correct for that kernel?

Looking through the RHEL4 system output for -vvvv see the follow output related
to the generation of the probe points for the 2.6.23-rc2 kernel built with the
RHEL 4 gcc (gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)):

control symbols: kts: 0xc0315b98 kte: 0xc03184b2 stext: 0xc01012dc
parsed 'sys_open' -> func 'sys_open'
pattern 'kernel' matches module 'kernel'
focused on module 'kernel = [0xc0100000-0xc0708000, bias 0x0] file
/boot/vmlinux-2.6.23-rc2 ELF machine i?86 (code 3)
pattern 'sys_open' matches function 'sys_open'
selected function sys_open
prologue searching function 'sys_open' 0xc017384f-0xc017386b@fs/open.c:1048
checking line record 0xc017384f@fs/open.c:1048
checking line record 0xc0173850@fs/open.c:1054
prologue found function 'sys_open' = 0xc0173850
probe sys_open@fs/open.c:1048 kernel section=.text pc=0xc0173850
finding location for local 'filename' near address c0173850, module bias 0
finding location for local 'flags' near address c0173850, module bias 0
finding location for local 'mode' near address c0173850, module bias 0
finding location for local 'filename' near address c0173850, module bias 0
finding location for local 'mode' near address c0173850, module bias 0
finding location for local 'filename' near address c0173850, module bias 0
finding location for local 'filename' near address c0173850, module bias 0
control symbols: kts: 0xc0315b98 kte: 0xc03184b2 stext: 0xc01012dc
parsed 'sys_open' -> func 'sys_open'
pattern 'kernel' matches module 'kernel'
focused on module 'kernel = [0xc0100000-0xc0708000, bias 0x0] file
/boot/vmlinux-2.6.23-rc2 ELF machine i?86 (code 3)
pattern 'sys_open' matches function 'sys_open'
selected function sys_open
prologue searching function 'sys_open' 0xc017384f-0xc017386b@fs/open.c:1048
checking line record 0xc017384f@fs/open.c:1048
checking line record 0xc0173850@fs/open.c:1054
prologue found function 'sys_open' = 0xc0173850
probe sys_open@fs/open.c:1048 kernel section=.text pc=0xc017384f

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4915

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