Skip to content
  • David Goulet's avatar
    trace: Add a basic event-tracing infrastructure. · cb8ac1f3
    David Goulet authored and Nick Mathewson's avatar Nick Mathewson committed
    
    
    This commit adds the src/trace directory containing the basics for our tracing
    subsystem. It is not used in the code base. The "src/trace/debug.h" file
    contains an example on how we can map our tor trace events to log_debug().
    
    The tracing subsystem can only be enabled by tracing framework at compile
    time. This commit introduces the "--enable-tracing-debug" option that will
    make all "tor_trace()" function be maped to "log_debug()".
    
    Closes #13802
    
    Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
    cb8ac1f3