This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/9738] Running a stap script throws up compilation error
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 13 Jan 2009 18:16:29 -0000
- Subject: [Bug translator/9738] Running a stap script throws up compilation error
- References: <20090113103055.9738.mahesh@linux.vnet.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2009-01-13 18:16 -------
> SystemTap translator/driver (version 0.8/0.138 git branch master, commit aa5951be)
> [salgaonkarm@mars systemtap]$ sudo ./stap -k -vv -e 'probe
> kernel.function("do_settimeofday"){printf("%u\n",$xtime->tv_sec)}'
Wenji's recent changes should not affect this.
> /tmp/stapu0EBq0/stap_16672.c:144:
> s0 = ({ static unsigned long addr = 0; if (addr==0) addr = _stp_module_relocate
> ("kernel","_stext",0xffffffff400f6618); addr; });
It's strange that this address should become associated with $xtime.
Could you run with "--vp 02" and/or check the symbol table for the
actual address of xtime? We may have some uninitialized memory, or
a weird sign extension bug somewhere.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9738
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.