Tor
0.4.7.0-alpha-dev
|
Header file for Tor tracing instrumentation definition. More...
#include "orconfig.h"
Go to the source code of this file.
Macros | |
#define | TR_SUBSYS(name) tor_ ## name |
#define | TR_EV(name) name |
#define | tor_trace(subsystem, name, ...) |
Header file for Tor tracing instrumentation definition.
Definition in file events.h.
Helper to disambiguate these identifiers in the code base. They should only be used with tor_trace() like so:
tor_trace(TR_SUBSYS(circuit), TR_EV(opened), ...);