From: OGAWA Hirofumi Date: Sun, 6 Dec 2009 11:10:49 +0000 (+0900) Subject: perf tools: Misc small fixes X-Git-Tag: v2.6.33-rc1~306^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7691b1ec2e4a8d4bd88dcf88b29792399ebe1c91;p=pandora-kernel.git perf tools: Misc small fixes - util/header.c "len" is aligned to 64. So, it tries to write the out of long_name buffer. So, this use "zero_buf" to write aligned area. - util/trace-event-read.c "size" is not including nul byte. So, this allocates it, and set '\0'. - util/trace-event-parse.c It needs parens to calc correct size. Signed-off-by: OGAWA Hirofumi Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker LKML-Reference: <87d42s8iiu.fsf_-_@devron.myhome.or.jp> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed