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-11 06:58 -------
[ananth@... ~]$ gdb latest/linux-2.6.30-rc8/vmlinux
...
(gdb) info scope do_fork
Scope for do_fork:
Symbol clone_flags is a variable with multiple locations, length 8.
Symbol stack_start is a variable with multiple locations, length 8.
Symbol regs is a variable with multiple locations, length 8.
Symbol stack_size is a variable with multiple locations, length 8.
Symbol parent_tidptr is a variable with multiple locations, length 8.
Symbol child_tidptr is a variable with multiple locations, length 8.
Symbol p is a variable with multiple locations, length 8.
Symbol trace is a variable with multiple locations, length 4.
Symbol nr is a variable with multiple locations, length 8.
Symbol count is in static storage at address 0xc00000000080a2d8, length 4.

Also using $$parms, stap is able to decode parameter names:

[ananth@... ~]$ stap -ve 'probe kernel.function("do_fork") { printf("%s\n",
$$parms) exit() }'
Pass 1: parsed user script and 55 library script(s) in 640usr/10sys/716real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) in
550usr/980sys/1779real ms.
Pass 3: translated to C into
"/tmp/staprB28ja/stap_af541a9acb56640cfdb92d9022e5fbf7_780.c" in
1370usr/990sys/2756real ms.
Pass 4: compiled C into "stap_af541a9acb56640cfdb92d9022e5fbf7_780.ko" in
6790usr/1000sys/12479real ms.
Pass 5: starting run.
clone_flags=? stack_start=? regs=? stack_size=? parent_tidptr=? child_tidptr=? 
Pass 5: run completed in 10usr/50sys/8486real ms.


-- 


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]