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 testsuite/10231] Systemtap variable references fail on custom kernels built on RHEL 5.3 on ppc64


------- Additional Comments From ananth at in dot ibm dot com  2009-06-03 10:16 -------
The problem is not unique to vfs. I am seeing that any variable reference fails:

[ananth@... ~]$ stap -ve 'probe kernel.function("do_fork") { printf("%x\n",
$clone_flags) exit() }'
Pass 1: parsed user script and 52 library script(s) in 490usr/20sys/781real ms.
semantic error: not accessible at this address: identifier '$clone_flags' at
<input>:1:51
        source: probe kernel.function("do_fork") { printf("%x\n", $clone_flags)
exit() }
                                                                  ^
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) in
560usr/1470sys/9074real ms.
Pass 2: analysis failed.  Try again with another '--vp 01' option.

Could this be something to do with the toolchain/debuginfo created thereof? Even
$$parms fails thus:

[ananth@llm27lp1 ~]$ stap -ve 'probe kernel.function("do_fork") { printf("%s\n",
$$parms) exit() }'
Pass 1: parsed user script and 52 library script(s) in 500usr/10sys/566real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) in
560usr/960sys/1774real ms.
Pass 3: translated to C into
"/tmp/stapmuqFAA/stap_68f940748294de8d2965c98af4c68f48_836.c" in
1180usr/970sys/2441real ms.
Pass 4: compiled C into "stap_68f940748294de8d2965c98af4c68f48_836.ko" in
7100usr/950sys/9487real ms.
Pass 5: starting run.
clone_flags=? stack_start=? regs=? stack_size=? parent_tidptr=? child_tidptr=? 
Pass 5: run completed in 20usr/60sys/8336real ms.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ananth at in dot ibm dot com
            Summary|Systemtap vfs testcase fails|Systemtap variable
                   |on custom kernel built on   |references fail on custom
                   |RHEL 5.3 on ppc64           |kernels built on RHEL 5.3 on
                   |                            |ppc64


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

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