From patchwork Tue Mar 20 13:37:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Essen X-Patchwork-Id: 147791 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 97F41B6FAB for ; Wed, 21 Mar 2012 00:38:51 +1100 (EST) Received: from localhost ([::1]:42152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9zGw-0001Nm-Ee for incoming@patchwork.ozlabs.org; Tue, 20 Mar 2012 09:38:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9zGS-0001G4-P2 for qemu-devel@nongnu.org; Tue, 20 Mar 2012 09:38:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9zG8-0004qi-43 for qemu-devel@nongnu.org; Tue, 20 Mar 2012 09:38:16 -0400 Received: from 204.146.238.178.in-addr.arpa ([178.238.146.204]:40399 helo=mail.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9zG7-0004qS-T6 for qemu-devel@nongnu.org; Tue, 20 Mar 2012 09:37:56 -0400 Received: from [178.238.146.101] (101.146.238.178.in-addr.arpa [178.238.146.101]) by mail.local (Postfix) with ESMTPSA id 12C3F49CD; Tue, 20 Mar 2012 13:37:53 +0000 (UTC) Message-ID: <4F688831.5050709@nowonline.co.uk> Date: Tue, 20 Mar 2012 13:37:53 +0000 From: Lee Essen User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: qemu-devel@nongnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 178.238.146.204 Cc: stefanha@linux.vnet.ibm.com Subject: [Qemu-devel] [PATCH] tracetool dtrace disabled-events fix 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 If there are "disabled" entries in the trace-events file then linetod_nop() is called if the backend is dtrace, it's currently not present. Signed-off-by: Lee Essen diff --git a/scripts/tracetool b/scripts/tracetool index 65bd0a1..d5e5591 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -161,6 +161,12 @@ linetoc_nop() return } +linetod_nop() +{ + # Used when "disabled" events are processed + return +} + linetoc_end_nop() { return