aboutsummaryrefslogtreecommitdiff
path: root/src/lib/trace/trace_stub.c
blob: fddf8c63f0e9ef23ab7668de442e6905f2cbb0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright (c) 2020, 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,
};