Received: from [140.186.70.92] (port=60153 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3vrp-0006mu-Tw for qemu-devel@nongnu.org; Sun, 27 Mar 2011 15:43:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3vrl-0006UC-Iu for qemu-devel@nongnu.org; Sun, 27 Mar 2011 15:43:14 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:60444) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q3vrl-0006Tu-65 for qemu-devel@nongnu.org; Sun, 27 Mar 2011 15:43:13 -0400 From: =?utf-8?b?TGx1w61z?= Date: Sun, 27 Mar 2011 21:42:49 +0200 Message-ID: <20110327194249.622.69985.stgit@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 1/4] trace: [ust] fix generation of 'trace.c' on events without args List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: LluĂ­s Vilanova --- scripts/tracetool | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/tracetool b/scripts/tracetool index 412f695..d88cb43 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -338,6 +338,7 @@ linetoc_ust() name=$(get_name "$1") args=$(get_args "$1") argnames=$(get_argnames "$1", ",") + [ -z "$argnames" ] || argnames=", $argnames" fmt=$(get_fmt "$1") cat <