From patchwork Mon Apr 4 21:49:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [1/6] trace: [ust] fix generation of 'trace.c' on events without args Date: Mon, 04 Apr 2011 11:49:06 -0000 From: =?utf-8?Q?Llu=C3=ADs?= X-Patchwork-Id: 89714 Message-Id: <20110404214906.9761.12761.stgit@ginnungagap.bsc.es> To: qemu-devel@nongnu.org Cc: stefanha@gmail.com 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 <