blob: bb543392586d3f8f0e514a418e92ffb5a4e63f1d [file] [log] [blame]
Lluíse4858972011-08-31 20:31:03 +02001/*
2 * Interface for configuring and controlling the state of tracing events.
3 *
4 * Copyright (C) 2011 Lluís Vilanova <vilanova@ac.upc.edu>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2. See
7 * the COPYING file in the top-level directory.
8 */
9
10#ifndef TRACE_CONTROL_H
11#define TRACE_CONTROL_H
12
13#include <stdbool.h>
14
15
16/** Initialize the tracing backend.
17 *
18 * @file Name of trace output file; may be NULL.
19 * Corresponds to commandline option "-trace file=...".
20 * @return Whether the backend could be successfully initialized.
21 */
22bool trace_backend_init(const char *file);
23
24#endif /* TRACE_CONTROL_H */