[PATCH] ldv/unwind: enable cache feature of libunwind

Luca Clementi luca.clementi at gmail.com
Sat Nov 16 19:57:34 UTC 2013


On Tue, Nov 12, 2013 at 1:27 AM, Masatake YAMATO <yamato at redhat.com> wrote:
> With turning on cache feature of libunwind, stack tracing
> becomes two times faster(in my small test).
>

Nice improvement.

With this patch applied it reads the maps file 1432 times:
$ strace -e trace=open -o tmp   ./strace -k -o /dev/null ls
$ grep maps tmp | grep proc |wc -l
1432

Without the patch:
$ strace -e trace=open -o tmp   ./strace -k -o /dev/null ls
$ grep maps tmp | grep proc |wc -l
1539

Luca




More information about the Strace-devel mailing list