]> Git Repo - qemu.git/blobdiff - trace/simple.h
block/mirror: limit qiov to IOV_MAX elements
[qemu.git] / trace / simple.h
index 7e521c1e1fe75fa62a78cd0807d3f1b95338e5bf..6997996855b25643a32bb8313a4209ec75679824 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);
 bool st_set_trace_file(const char *file);
+bool st_init(const char *file);
 void st_flush_trace_buffer(void);
 
 typedef struct {
     unsigned int tbuf_idx;
-    unsigned int next_tbuf_idx;
     unsigned int rec_off;
 } TraceBufferRecord;
 
This page took 0.025389 seconds and 4 git commands to generate.