From: Lluís Vilanova Date: Tue, 5 Mar 2013 13:47:49 +0000 (+0100) Subject: trace: [default] Port to generic event information and new control interface X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~900^2~59^2~507^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd068a953ccb54a00e7b1cf2d8961498c7d74bd4;p=sdk%2Femulator%2Fqemu.git trace: [default] Port to generic event information and new control interface Signed-off-by: Lluís Vilanova Signed-off-by: Stefan Hajnoczi --- diff --git a/trace/default.c b/trace/default.c index c9b27a289b..6e07a479d6 100644 --- a/trace/default.c +++ b/trace/default.c @@ -1,7 +1,7 @@ /* * Default implementation for backend initialization from commandline. * - * Copyright (C) 2011 Lluís Vilanova + * Copyright (C) 2011-2012 Lluís Vilanova * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. @@ -18,11 +18,10 @@ void trace_print_events(FILE *stream, fprintf_function stream_printf) "operation not supported with the current backend\n"); } -bool trace_event_set_state(const char *name, bool state) +void trace_event_set_state_dynamic_backend(TraceEvent *ev, bool state) { fprintf(stderr, "warning: " "cannot set the state of a trace event with the current backend\n"); - return false; } bool trace_backend_init(const char *events, const char *file)