tech-userlevel archive

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

Re: using backtrace(3) in libpthread



Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:

> I see that libexecinfo has a weak reference on __register_frame_info(),
> but I do not understand how it relates to the code it contains.

If I skip the two first backtrace (I use a static counter to count
that), it works fine. Since the goal is to track a pthread_key leak,
that will be fine for my usage.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index