libunwind-devel
[Top][All Lists]
Advanced

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

[Libunwind-devel] why unw_get_proc_name returns NULL


From: Hui Zhang
Subject: [Libunwind-devel] why unw_get_proc_name returns NULL
Date: Mon, 14 Nov 2016 14:49:20 -0500

Hello,

I'm using libunwind to walk the stack periodically during an execution, every time I walk the stack, I print out the name of the frame and the IP register value. Here's the weird thing:
unw_get_proc_name sometimes cannot give me the name to the frame while other times it does give the correct name with the exactly same IP value.
E.g. two exactly same call stacks(same IP value on each frame). One gives name for each frame within it, but the other is missing names for some frames. Why ?

Any ideas why this is happening ?
Thanks a lot !

--
Best regards


Hui Zhang

reply via email to

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