]> git.proxmox.com Git - mirror_qemu.git/blobdiff - trace/simple.h
error: use GLib to remember the program name
[mirror_qemu.git] / trace / simple.h
index 1e7de455758960d1f7724f1b2760666366e83dee..ee1983ce5617a9c8b09f66d8ca7d83ed3a155a57 100644 (file)
 #ifndef TRACE_SIMPLE_H
 #define TRACE_SIMPLE_H
 
-
-#include "trace/generated-events.h"
-
-
-void st_print_trace_file_status(FILE *stream, fprintf_function stream_printf);
-void st_set_trace_file_enabled(bool enable);
+void st_print_trace_file_status(void);
+bool st_set_trace_file_enabled(bool enable);
 void st_set_trace_file(const char *file);
 bool st_init(void);
+void st_init_group(size_t group);
 void st_flush_trace_buffer(void);
 
 typedef struct {
@@ -33,7 +30,7 @@ typedef struct {
  *
  * @arglen  number of bytes required for arguments
  */
-int trace_record_start(TraceBufferRecord *rec, TraceEventID id, size_t arglen);
+int trace_record_start(TraceBufferRecord *rec, uint32_t id, size_t arglen);
 
 /**
  * Append a 64-bit argument to a trace record