Received: from [140.186.70.92] (port=50112 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PForE-0007ad-91 for qemu-devel@nongnu.org; Tue, 09 Nov 2010 09:07:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PForC-0008Ci-OP for qemu-devel@nongnu.org; Tue, 09 Nov 2010 09:07:31 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:35109 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PForC-0008C0-AH for qemu-devel@nongnu.org; Tue, 09 Nov 2010 09:07:30 -0500 From: =?utf-8?b?TGx1w61z?= Date: Tue, 09 Nov 2010 15:08:18 +0100 Message-ID: <20101109140818.29831.83592.stgit@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v2 1/3] 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 --- tracetool | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/tracetool b/tracetool index 7010858..f0fe01d 100755 --- a/tracetool +++ b/tracetool @@ -275,6 +275,7 @@ linetoc_ust() name=$(get_name "$1") args=$(get_args "$1") argnames=$(get_argnames "$1") + [ -z "$argnames" ] || argnames=", $argnames" fmt=$(get_fmt "$1") cat <