This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
CentOS cannot trace /lib64/ld-2.5.so library
- From: Mandar Gurav <mandarwce at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Fri, 12 Nov 2010 19:12:12 +0530
- Subject: CentOS cannot trace /lib64/ld-2.5.so library
- References: <AANLkTin0wfYj6R193M-FNhg6Ph+wKx5+RYEWhHAGTNiK@mail.gmail.com>
Hi all,
I am new to Systemtap. I have installed and tested the systemtap
successfully. I got some of my simple scripts running.
I can trace/probe all user defined functions in my C program. But now
I wanted to trace/probe the any external library calls for my C
program.
I googled for some information. And got reference of "Dynamic loader"
for linux - "/lib64/ld-2.5.so" this library is responsible for loading
of external symbols/functions.
Find more info at
http://en.wikipedia.org/wiki/Dynamic_loading
So I want to probe "dlopen" function and "dlsym" function from above library.
probe process("/lib64/ld-linux-x86-64.so.2").function("dlopen")
{
?? ..........
}
It told me to install debuginfo for Glibc for 64 bit. I have already
installed it. But still i am getting an error as
[root@mywork2 my_rnd]# stap my_stap.stp -v -c "./temp"
Pass 1: parsed user script and 72 library script(s) using
86884virt/21236res/2460shr kb, in 340usr/20sys/367real ms.
WARNING: cannot find module /lib64/ld-2.5.so debuginfo: No DWARF
information found
semantic error: no match while resolving probe point
process("/lib64/ld-linux-x86-64.so.2").function("dlopen")
Pass 2: analyzed script: 2 probe(s), 105 function(s), 3 embed(s), 2
global(s) using 155232virt/28032res/5656shr kb, in
120usr/420sys/544real ms.
Pass 2: analysis failed.? Try again with another '--vp 01' option.
Missing separate debuginfos, use: debuginfo-install glibc-2.5-49.el5_5.7.x86_64
But i have already installed "glibc-2.5-49.el5_5.7.x86_64 ".
Can anyone help me out???
--
|||| Mandar Gurav ||||