From: Joerg Roedel Date: Fri, 10 Feb 2012 17:05:04 +0000 (+0100) Subject: perf top: Don't process samples with no valid machine object X-Git-Tag: v3.4-rc1~192^2~14^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c095715b388d19d7a0b7e8eaceeceb018f5b3d1;p=pandora-kernel.git perf top: Don't process samples with no valid machine object The perf sample processing code relies on a valid machine object. Make sure that this path is only entered when such a object exists. A counter for samples where no machine object exits is also introduced to give the user a message about these samples. Reported-by: David Ahern Reported-by: Jason Wang Cc: David Ahern Cc: Ingo Molnar Cc: Jason Wang Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1328893505-4115-2-git-send-email-joerg.roedel@amd.com Signed-off-by: Joerg Roedel Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed