bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to profile my own shared libs loaded with dlopen?


From: Harald Kirsch
Subject: how to profile my own shared libs loaded with dlopen?
Date: Wed, 11 Jul 2001 09:10:26 +0200

With the help of deja (google) I found out that sprof might do the
trick. Since rpm showed that sprof belongs to the glibc-package, I
dare to ask this here.

If I set LD_PROFILE to libc.so.6 (on Linux), I get a .profile, but
there is no .profile if I set LD_PROFILE to the name of my shared lib,
which is loaded by the python interpreter presumably with dlopen.

I wonder if the mechanism works at all for anything but libc?

Regards,
  Harald Kirsch

-- 
----------------+----------------------------------------------------
Harald Kirsch   | address@hidden
LION bioscience | +49 6221 4038 172



reply via email to

[Prev in Thread] Current Thread [Next in Thread]