aboutsummaryrefslogtreecommitdiff
path: root/src/lib/trace/trace_stub.c
blob: 6db5c8ef1a2d6c3708a072e04275af04ff17832e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright (c) 2020-2021, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * \file trace_stub.c
 * \brief Stub declarations for use when trace library is disabled.
 **/

#include "lib/subsys/subsys.h"

#include "lib/trace/trace_sys.h"

const subsys_fns_t sys_tracing = {
  SUBSYS_DECLARE_LOCATION(),

  .name = "tracing",
  .supported = false,
  .level = TRACE_SUBSYS_LEVEL,
};