Hi,
I am trying to use a cross instrumented Systemtap installation
(i386/ARM). I followed the instructions of
http://omappedia.org/wiki/Systemtap.
Compilation of Systemtap for host and target are done wihtout problems.
Creating/executing a "Hello World" tap script succeeded.
Now I tried to create probe needing symbol information of the
modules/kernel of the target.
I tried to create the tap module with the following command:
-----
./bin/bin/stap
-gv
-a arm
-D BEAGLE_BOARD
-B CROSS_COMPILE=arm-none-linux-gnueabi-
-r 2.6.36/
-I sandbox/systemtap/omap_bin/share/systemtap/tapset
-R sandbox/systemtap/omap_bin/share/systemtap/runtime
--vp 01
-m hello_stp
tis_i2c_pm_trace.stp
WARNING: kernel release/architecture mismatch with host forces last-pass 4.
Pass 1: parsed user script and 144 library script(s) using
26132virt/21984res/1660shr kb, in 240usr/20sys/268real ms.
semantic error: no match while resolving probe point
module("myModule").function("myModule_suspend4")
semantic error: no match while resolving probe point
module("myModule").function("myModule_suspend4").return
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 12
global(s) using 70088virt/22820res/2020shr kb, in 10usr/140sys/151real ms.
Pass 2: analysis failed. Try again with another '--vp 01' option.
Running rm -rf /tmp/stapuevczi
-----
It seems that Systemtap cannot find the debug information for the modules.
I think of two possible solutions:
1) Where do I have to put my kernelmodule that Systemtap can find it?
or
2) How can I tell Systemtap where my modules can be found?
Could someone give me a hint?
Thanks
Wolfram