]> git.proxmox.com Git - qemu.git/blobdiff - trace/simple.h
rng-egd: remove redundant free
[qemu.git] / trace / simple.h
index 7e521c1e1fe75fa62a78cd0807d3f1b95338e5bf..5260d9aa813f10d606a0b4e4ea56601dc81890e9 100644 (file)
 #include <stdbool.h>
 #include <stdio.h>
 
-typedef uint64_t TraceEventID;
+#include "trace/generated-events.h"
 
-typedef struct {
-    const char *tp_name;
-    bool state;
-} TraceEvent;
 
 void st_print_trace_file_status(FILE *stream, fprintf_function stream_printf);
 void st_set_trace_file_enabled(bool enable);
@@ -29,7 +25,6 @@ void st_flush_trace_buffer(void);
 
 typedef struct {
     unsigned int tbuf_idx;
-    unsigned int next_tbuf_idx;
     unsigned int rec_off;
 } TraceBufferRecord;