Commit Graph
60 Commits
Author SHA1 Message Date
Bartosz Taudul 7552341ff0 Increase possible inline stack size to 64 elements. 2022-10-04 22:16:20 +02:00
Bartosz Taudul 2cc5eff9a2 Normalize symbol paths on libbacktrace systems. 2022-09-02 01:23:29 +02:00
Bartosz Taudul 8cc43284bd Add path normalization function. 2022-09-02 01:23:14 +02:00
Bartosz Taudul d32dc47845 Add debug logging for debuginfod queries. 2022-08-16 22:05:08 +02:00
Bartosz Taudul 72ad40698b Move initialization of callstack structs to a thread.
Initializing structures for callstack processing (building memory map of the
process, gathering kernel symbols, etc) takes some time, which in some cases
may be significant.

Callstack queries are now handled on a separate thread. In such setup it no
longer makes sense to block main thread execution with this lengthy init
process.

All the heavy initialization phase has been now moved to this separate
processing thread. Some initial callstack queries may now not produce
responses as promptly as before, but this is only because the main thread is
able to start working earlier.

Some parts of the initialization process may be critical to do in the main
thread, for example because the function responsible for gathering callstacks
must be loaded first. This is done still on the main thread, in a new function
InitCallstackCritical().
2022-08-16 13:55:46 +02:00
Bartosz Taudul c6464f44da Fix typo. 2022-07-30 22:02:25 +02:00
Bartosz Taudul a75846dd88 Do not try to demangle really long function names. 2022-07-23 12:37:00 +02:00
Bartosz Taudul d282425287 Fix demangle buffer. 2022-07-23 12:34:35 +02:00
Bartosz Taudul 7dc95bf3a8 Fix demangling of functions with names >64KB. 2022-07-20 01:21:43 +02:00
Bartosz Taudul 06c7984a16 Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00