From patchwork Wed Mar 28 14:26:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alon Levy X-Patchwork-Id: 149226 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 76D61B6F6E for ; Thu, 29 Mar 2012 01:26:36 +1100 (EST) Received: from localhost ([::1]:48678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCtpZ-00029K-H8 for incoming@patchwork.ozlabs.org; Wed, 28 Mar 2012 10:26:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCtpR-00028E-JY for qemu-devel@nongnu.org; Wed, 28 Mar 2012 10:26:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCtpP-0006E2-SG for qemu-devel@nongnu.org; Wed, 28 Mar 2012 10:26:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCtpP-0006Do-KX for qemu-devel@nongnu.org; Wed, 28 Mar 2012 10:26:23 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2SEQI1D025054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 28 Mar 2012 10:26:18 -0400 Received: from garlic.tlv.redhat.com (spice-ovirt.tlv.redhat.com [10.35.4.71]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q2SEQGN5021519; Wed, 28 Mar 2012 10:26:17 -0400 From: Alon Levy To: qemu-devel@nongnu.org, Stefan Hajnoczi Date: Wed, 28 Mar 2012 16:26:15 +0200 Message-Id: <1332944776-4037-1-git-send-email-alevy@redhat.com> In-Reply-To: <20120328131634.GY32389@garlic> References: <20120328131634.GY32389@garlic> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: =?UTF-8?q?Llu=C3=ADs=20Vilanova?= Subject: [Qemu-devel] [PATCH 1/2] tracetool: dtrace: handle in and next reserved words 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: Alon Levy --- scripts/tracetool | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/tracetool b/scripts/tracetool index 65bd0a1..e7cebf3 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -494,9 +494,9 @@ EOF i=1 for arg in $arglist do - # 'limit' is a reserved keyword - if [ "$arg" = "limit" ]; then - arg="_limit" + # 'limit', 'in' and 'next' are reserved keywords + if [ "$arg" = "limit" -o "$arg" = "in" -o "$arg" = "next" ]; then + arg="_$arg" fi cat <