From: Namhyung Kim Date: Thu, 31 May 2012 05:43:27 +0000 (+0900) Subject: perf tools: Check if callchain is corrupted X-Git-Tag: v3.5-rc2~10^2~9^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=114067b69e7b2c691faace0e33db2f04096f668d;p=pandora-kernel.git perf tools: Check if callchain is corrupted We faced segmentation fault on perf top -G at very high sampling rate due to a corrupted callchain. While the root cause was not revealed (I failed to figure it out), this patch tries to protect us from the segfault on such cases. Reported-by: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Sunjin Yang Link: http://lkml.kernel.org/r/1338443007-24857-2-git-send-email-namhyung.kim@lge.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed