Status: Accepted
Owner: ----
CC: [email protected]
Labels: Type-Enhancement Priority-Medium KASAN

New issue 288 by [email protected]: kasan: poor performance due to stack trace collection instrumentation
http://code.google.com/p/address-sanitizer/issues/detail?id=288

Here is the hottest function in profile:

    10.52%  foo  [kernel.kallsyms]    [k] __kasan_read8
            |
            --- __kasan_read8
               |
               |--19.75%-- print_context_stack
               |          dump_trace
               |          save_stack_trace
               |          asan_compress_and_save_stack_trace
               |          |
               |          |--52.16%-- asan_slab_free
               |          |          |
               |          |          |--54.60%-- kfree
               |           --47.84%-- asan_slab_alloc
               |                     |
               |                     |--51.28%-- kmem_cache_alloc


Almost all calls come from asan_compress_and_save_stack_trace <- kmalloc/kfree.
Stack collection must not be instrumented by kasan.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to