* Crossintrumented Systemtap
@ 2011-02-08 9:22 Wolfram Gettert
2011-02-08 10:12 ` Wolfram Gettert
0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Gettert @ 2011-02-08 9:22 UTC (permalink / raw)
To: systemtap
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
--
Wolfram Gettert
Software Engineer Embedded Systems
Mixed Mode GmbH
Lochhamer Schlag 17
D-82166 Gräfelfing/München
Tel. +49 / 89 / 89 86 8-200
Fax +49 / 89 / 89 86 8-222
Mobil +49 / 172 /
http://www.mixed-mode.de
Mixed Mode - Ihr Partner für Systems Engineering, Project Resources &
Consulting!
-------
Ein Unternehmen der PIXEL Group
Mixed Mode GmbH
Sitz der Gesellschaft: Gräfelfing
Amtsgericht: München
HRB 130778
Geschäftsführer: Helmut Süßmuth, Paul Privler
-------
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Crossintrumented Systemtap
2011-02-08 9:22 Crossintrumented Systemtap Wolfram Gettert
@ 2011-02-08 10:12 ` Wolfram Gettert
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Gettert @ 2011-02-08 10:12 UTC (permalink / raw)
To: systemtap
Hi,
I have found the problem. It was problem with a wrong path.
So, thanks for the great tool.
Wolfram
Am 08.02.2011 10:22, schrieb Wolfram Gettert:
> 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
>
>
--
Wolfram Gettert
Software Engineer Embedded Systems
Mixed Mode GmbH
Lochhamer Schlag 17
D-82166 Gräfelfing/München
Tel. +49 / 89 / 89 86 8-200
Fax +49 / 89 / 89 86 8-222
Mobil +49 / 172 /
http://www.mixed-mode.de
Mixed Mode - Ihr Partner für Systems Engineering, Project Resources &
Consulting!
-------
Ein Unternehmen der PIXEL Group
Mixed Mode GmbH
Sitz der Gesellschaft: Gräfelfing
Amtsgericht: München
HRB 130778
Geschäftsführer: Helmut Süßmuth, Paul Privler
-------
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-08 10:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-08 9:22 Crossintrumented Systemtap Wolfram Gettert
2011-02-08 10:12 ` Wolfram Gettert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).