mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
trace: [simple] Port to generic event information and new control interface
The backend is forced to dump event numbers using 64 bits, as TraceEventID is an enum. Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
fd068a953c
commit
60481e210d
3 changed files with 13 additions and 46 deletions
|
@ -15,12 +15,8 @@
|
|||
#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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue