1
0
mirror of https://github.com/Zygo/bees.git synced 2025-06-17 01:56:16 +02:00

tracer: annotate both ends of the stack trace

Add a matching "--- BEGIN TRACE..." line to complement the "---  END
TRACE..." line.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell
2021-06-02 00:13:48 -04:00
parent b083003cf7
commit 1fd26a03b2
2 changed files with 7 additions and 0 deletions

View File

@ -197,6 +197,7 @@ class BeesTracer {
thread_local static BeesTracer *tl_next_tracer;
thread_local static bool tl_silent;
thread_local static bool tl_first;
public:
BeesTracer(function<void()> f, bool silent = false);
~BeesTracer();