aboutsummaryrefslogtreecommitdiff
path: root/tests/tracetool/dtrace.c
blob: 9f862fa14d299518b24d525569c3c7d37539907b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* This file is autogenerated by tracetool, do not edit. */
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include "qemu/osdep.h"
#include "qemu/module.h"
#include "trace-testsuite.h"

uint16_t _TRACE_TEST_BLAH_DSTATE;
uint16_t _TRACE_TEST_WIBBLE_DSTATE;
TraceEvent _TRACE_TEST_BLAH_EVENT = {
    .id = 0,
    .name = "test_blah",
    .sstate = TRACE_TEST_BLAH_ENABLED,
    .dstate = &_TRACE_TEST_BLAH_DSTATE
};
TraceEvent _TRACE_TEST_WIBBLE_EVENT = {
    .id = 0,
    .name = "test_wibble",
    .sstate = TRACE_TEST_WIBBLE_ENABLED,
    .dstate = &_TRACE_TEST_WIBBLE_DSTATE
};
TraceEvent *testsuite_trace_events[] = {
    &_TRACE_TEST_BLAH_EVENT,
    &_TRACE_TEST_WIBBLE_EVENT,
  NULL,
};

static void trace_testsuite_register_events(void)
{
    trace_event_register_group(testsuite_trace_events);
}
trace_init(trace_testsuite_register_events)