]> git.kaiwu.me - haproxy.git/commit
MINOR: sym: add an in-process symbol table for backtraces
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 15 Sep 2026 13:03:31 +0000 (15:03 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 1 Oct 2026 15:06:31 +0000 (17:06 +0200)
commit268274379a1b61dd5cbd88c222efe05c0587da08
treec2881303f7029dcf93149dae6eb4a1fbed4f434d
parenta355f5648b0b26dbbaf8288f1a72069efa1b25d0
MINOR: sym: add an in-process symbol table for backtraces

Build an address-sorted table at boot and publish immutable snapshots for
lock-free, signal-safe lookups. Seed it with the existing known functions.
The table is built while the process is still starting and no thread is
 running yet, so the build needs no locking.
The table is sorted using a radix sort.
include/haproxy/sym-t.h [new file with mode: 0644]
include/haproxy/sym.h
src/sym.c