X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=trace%2Fsimple.h;h=ee1983ce5617a9c8b09f66d8ca7d83ed3a155a57;hb=66f8b5a5ad17790e0039b39bf2b342fcb340b4ab;hp=8d1a32eba07cbef0f89ebdf57386e90c2650f1ea;hpb=071aacc9c9e15859500bbacf153e03b45008ee50;p=mirror_qemu.git diff --git a/trace/simple.h b/trace/simple.h index 8d1a32eba0..ee1983ce56 100644 --- a/trace/simple.h +++ b/trace/simple.h @@ -11,17 +11,11 @@ #ifndef TRACE_SIMPLE_H #define TRACE_SIMPLE_H -#include -#include -#include - -#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 { @@ -36,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