Received: from eggs.gnu.org ([208.118.235.92]:57574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2SN-00027b-T3 for qemu-devel@nongnu.org; Tue, 20 Mar 2012 13:02:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA2SH-000523-OV for qemu-devel@nongnu.org; Tue, 20 Mar 2012 13:02:47 -0400 Received: from 204.146.238.178.in-addr.arpa ([178.238.146.204]:50390 helo=mail.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2SH-00051o-HX for qemu-devel@nongnu.org; Tue, 20 Mar 2012 13:02:41 -0400 Message-ID: <4F68B830.9040008@nowonline.co.uk> Date: Tue, 20 Mar 2012 17:02:40 +0000 From: Lee Essen MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH v2] tracetool dtrace disabled-events fix List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com 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. Also equivalent fix for stap. Signed-off-by: Lee Essen -- diff --git a/scripts/tracetool b/scripts/tracetool index 65bd0a1..a279c2c 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -161,6 +161,18 @@ linetoc_nop() return } +linetod_nop() +{ + # Used when "disabled" events are processed + return +} + +linetostap_nop() +{ + # Used when "disabled" events are processed + return +} + linetoc_end_nop() { return