blob: 86f6a511be4aced7c71e9410f499e9a89f794b03 [file] [log] [blame]
Lluís Vilanova45be2f52013-03-05 14:47:32 +01001/*
2 * Interface for configuring and controlling the state of tracing events.
3 *
4 * Copyright (C) 2012 Lluís Vilanova <vilanova@ac.upc.edu>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10#ifndef TRACE__EVENT_INTERNAL_H
11#define TRACE__EVENT_INTERNAL_H
12
13#include "trace/generated-events.h"
14
15
16/**
17 * TraceEvent:
18 * @id: Unique event identifier.
19 * @name: Event name.
20 * @sstate: Static tracing state.
Lluís Vilanova45be2f52013-03-05 14:47:32 +010021 *
22 * Opaque generic description of a tracing event.
23 */
24typedef struct TraceEvent {
25 TraceEventID id;
26 const char * name;
27 const bool sstate;
Lluís Vilanova45be2f52013-03-05 14:47:32 +010028} TraceEvent;
29
30
31#endif /* TRACE__EVENT_INTERNAL_H */