master
c 32 lines 847 Bytes
Raw
1 /* This file is autogenerated by tracetool, do not edit. */
2 /* SPDX-License-Identifier: GPL-2.0-or-later */
3
4 #include "qemu/osdep.h"
5 #include "qemu/module.h"
6 #include "trace-testsuite.h"
7
8 uint16_t _TRACE_TEST_BLAH_DSTATE;
9 uint16_t _TRACE_TEST_WIBBLE_DSTATE;
10 TraceEvent _TRACE_TEST_BLAH_EVENT = {
11 .id = 0,
12 .name = "test_blah",
13 .sstate = TRACE_TEST_BLAH_ENABLED,
14 .dstate = &_TRACE_TEST_BLAH_DSTATE
15 };
16 TraceEvent _TRACE_TEST_WIBBLE_EVENT = {
17 .id = 0,
18 .name = "test_wibble",
19 .sstate = TRACE_TEST_WIBBLE_ENABLED,
20 .dstate = &_TRACE_TEST_WIBBLE_DSTATE
21 };
22 TraceEvent *testsuite_trace_events[] = {
23 &_TRACE_TEST_BLAH_EVENT,
24 &_TRACE_TEST_WIBBLE_EVENT,
25 NULL,
26 };
27
28 static void trace_testsuite_register_events(void)
29 {
30 trace_event_register_group(testsuite_trace_events);
31 }
32 trace_init(trace_testsuite_register_events)