libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] the behavior of unw_set_caching_policy


From: Arun Sharma
Subject: Re: [Libunwind-devel] the behavior of unw_set_caching_policy
Date: Wed, 11 Dec 2013 08:33:31 +0530

On Tue, Dec 10, 2013 at 5:06 PM, Masatake YAMATO <address@hidden> wrote:
> What kind of things are cached with the interface unw_set_caching_policy?
>
> As I wrote ago I'm working on adding stack trace feature to strace.
> For implementing the feature libunwind-ptrace is used.
> Should I turing on the cache mechanism with unw_set_caching_policy
> in the case? As far as I trying, the cache improves the performance.
> However, I wonder what I should invalidate the cache.

Mainly the dwarf_rs_cache. Helps avoid reparsing the dwarf unwind
info, if you're unwinding from the same IP address repeatedly.
If you generate JIT'ed code and the unwind info associated with the
code changes, that's when you're required to invalidate.

 -Arun



reply via email to

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