From patchwork Fri Feb 10 14:28:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Llu=C3=ADs_Vilanova?= X-Patchwork-Id: 140657 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4D461B6EF3 for ; Sat, 11 Feb 2012 01:29:29 +1100 (EST) Received: from localhost ([::1]:57924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvrTa-0007YI-J0 for incoming@patchwork.ozlabs.org; Fri, 10 Feb 2012 09:29:26 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvrTI-00070z-Eo for qemu-devel@nongnu.org; Fri, 10 Feb 2012 09:29:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvrTE-0006lW-3q for qemu-devel@nongnu.org; Fri, 10 Feb 2012 09:29:08 -0500 Received: from gw.ac.upc.edu ([147.83.30.3]:51698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvrTD-0006lS-Tw for qemu-devel@nongnu.org; Fri, 10 Feb 2012 09:29:04 -0500 Received: from localhost (unknown [10.8.0.22]) by gw.ac.upc.edu (Postfix) with ESMTP id 54F7C2D0001; Fri, 10 Feb 2012 15:29:02 +0100 (CET) To: qemu-devel@nongnu.org From: =?utf-8?b?TGx1w61z?= Vilanova Date: Fri, 10 Feb 2012 15:28:54 +0100 Message-ID: <20120210142854.13518.83983.stgit@ginnungagap.bsc.es> In-Reply-To: <20120210142832.13518.22003.stgit@ginnungagap.bsc.es> References: <20120210142832.13518.22003.stgit@ginnungagap.bsc.es> User-Agent: StGit/0.15 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 147.83.30.3 Cc: blauwirbel@gmail.com, stefanha@gmail.com Subject: [Qemu-devel] [PATCH v3 4/6] trace: [default] Use new event control interface X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: LluĂ­s Vilanova --- trace/default.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/trace/default.c b/trace/default.c index c9b27a2..12db18d 100644 --- a/trace/default.c +++ b/trace/default.c @@ -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(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)