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]

How to use Callgraph / SystemTap on Debian Squeeze with fglrx ?


Hi, 

I want to use Callgraph / Systemtap on Debian Squeeze (AMD64) with
Eclipse LinuxTools / CDT. I have installed SystemTap from the Debian
Squeeze repository (according to
http://sourceware.org/systemtap/wiki/SystemtapOnDebian) If I run the
"helloworld" example that comes with the package I get the following
output: 

jkr@panoramix:/usr/share/doc/systemtap-doc/examples/general$ stap -v helloworld.stp 
Pass 1: parsed user script and 68 library script(s) using 49940virt/20896res/1756shr kb, in 240usr/20sys/272real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) using 50468virt/21572res/1964shr kb, in 0usr/0sys/6real ms.
Pass 3: using cached /home/jkr/.systemtap/cache/77/stap_77409a90ca59fb213b8be2d6b92e0e46_710.c
Pass 4: using cached /home/jkr/.systemtap/cache/77/stap_77409a90ca59fb213b8be2d6b92e0e46_710.ko
Pass 5: starting run.
staprun:send_a_relocation:331: ERROR: reloc name too long: .gnu.linkonce.r._ZN6AsicNII18ucode_class_caymanE23NITilingModeLookupTableE: No such file or directory
staprun:send_a_relocation:331: ERROR: reloc name too long: .gnu.linkonce.r._ZTV15WritebacksBlockIN11mmEngineUVD16WRITEBACKS_BLOCKEE: No such file or directory
staprun:send_a_relocation:331: ERROR: reloc name too long: .gnu.linkonce.r._ZTV15WritebacksBlockIN17mmEngineR600_IDCT16WRITEBACKS_BLOCKEE: No such file or directory
...
[ deleted lots of lines with the same kind of error ]
...
hello world
Pass 5: run completed in 30usr/160sys/258real ms.

All the functions in the errors are from my proprietary closed source
Radeon videocard driver (fglrx). For that driver I do not have a debug
version available. It appears that something that is called "dkms" is
used to actually compile and install (some parts of?) that driver, but
to be honest I do not have any further knowledge of that mechanism.

Can I make SystemTap work in this case or do I actually need debug
versions for all modules? As I am not interested in any video
performance or callgraphs, can I get rid of those errors somehow? 


TIA

-- 
Met vriendelijke groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl

Attachment: signature.asc
Description: This is a digitally signed message part


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