From: Ingo Molnar Date: Thu, 3 Sep 2009 14:22:45 +0000 (+0200) Subject: perf trace: Fix read_string() X-Git-Tag: v2.6.32-rc1~720^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f4596d9312ba5fbf5f3231ef484823c4e684d2e;p=pandora-kernel.git perf trace: Fix read_string() We did not account for the enclosing \0. Depending on what malloc() gave us this resulted in corrupted version string printouts. Cc: Peter Zijlstra Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed