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]

Re: Crossintrumented 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]