Tor  0.4.7.0-alpha-dev
trace_stub.c
Go to the documentation of this file.
1 /* Copyright (c) 2020-2021, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
3 
4 /**
5  * \file trace_stub.c
6  * \brief Stub declarations for use when trace library is disabled.
7  **/
8 
9 #include "lib/subsys/subsys.h"
10 
11 #include "lib/trace/trace_sys.h"
12 
13 const subsys_fns_t sys_tracing = {
15 
16  .name = "tracing",
17  .supported = false,
18  .level = TRACE_SUBSYS_LEVEL,
19 };
Types used to declare a subsystem.
#define SUBSYS_DECLARE_LOCATION()
Definition: subsys.h:211