From 60481e210d1f5f9e97d4d5db82b9afb8d3df7acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Vilanova?= Date: Tue, 5 Mar 2013 14:47:55 +0100 Subject: trace: [simple] Port to generic event information and new control interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The backend is forced to dump event numbers using 64 bits, as TraceEventID is an enum. Signed-off-by: LluĂ­s Vilanova Signed-off-by: Stefan Hajnoczi --- trace/simple.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'trace/simple.h') 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 #include -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); -- cgit v1.1