aboutsummaryrefslogtreecommitdiff
path: root/trace/simple.h
diff options
context:
space:
mode:
authorLluís Vilanova <vilanova@ac.upc.edu>2013-03-05 14:47:55 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-03-28 14:19:57 +0100
commit60481e210d1f5f9e97d4d5db82b9afb8d3df7acf (patch)
tree72ac24ca5fdfdf45a834b133f74f4b8fb8217884 /trace/simple.h
parentfd068a953ccb54a00e7b1cf2d8961498c7d74bd4 (diff)
downloadqemu-60481e210d1f5f9e97d4d5db82b9afb8d3df7acf.zip
qemu-60481e210d1f5f9e97d4d5db82b9afb8d3df7acf.tar.gz
qemu-60481e210d1f5f9e97d4d5db82b9afb8d3df7acf.tar.bz2
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>
Diffstat (limited to 'trace/simple.h')
-rw-r--r--trace/simple.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/trace/simple.h b/trace/simple.h
index 2ab96a8..5260d9a 100644
--- a/trace/simple.h
+++ b/trace/simple.h
@@ -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);