tech-userlevel archive

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

How to profile NSS code?



Hello

I would like to understand why nss_ldap is slow. I rebuilt the module
with -pg and made a simple program that calls getpwnam(), also built
with -pg

Problem: when using -pg for the simple program, the linker uses 
/usr/lib/libc_p.a which is unable to call dlopen() and use nss_ldap.

ktrace tells me that ld is first looking for libc_p.so but that flavor
does not exists.

How this should be handled?


-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index