vlib: add clib_stack_frame_get_raw() 91/41691/2
authorBenoît Ganne <[email protected]>
Tue, 8 Oct 2024 14:43:12 +0000 (16:43 +0200)
committerBeno�t Ganne <[email protected]>
Wed, 13 Nov 2024 13:02:30 +0000 (13:02 +0000)
commit661fb34a90a131658abd726f4faebdc566230cd8
tree3b681985edfde1734fb891c49101df77eba9de9f
parent34083c41b2aea74a82775ce4b74f5bfa8c434106
vlib: add clib_stack_frame_get_raw()

clib_stack_frame_get() is getting the backtrace for all threads and
does symbol resolution which is too slow for certain features (eg.
memory traces).
clib_stack_frame_get_raw() only gets the local backtrace and defer
symbol resolution only when displaying results.

Type: improvement

Change-Id: Ia374d86e9175b6648a39ed5aaa676ceb7235e877
Signed-off-by: Benoît Ganne <[email protected]>
src/vppinfra/mem.h
src/vppinfra/mem_dlmalloc.c
src/vppinfra/stack.c
src/vppinfra/stack.h