From: Arnaldo Carvalho de Melo Date: Mon, 10 May 2010 00:14:07 +0000 (-0300) Subject: perf symbols: Check if a struct machine instance was found X-Git-Tag: v2.6.35-rc1~522^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cc4945844fe2cf493f1783b6ce938ba1617d5c2;p=pandora-kernel.git perf symbols: Check if a struct machine instance was found Which can happen when processing old files that had no fake kernel MMAP, events. That shouldn't result in perf_session__create_kernel_maps not being called, this will be fixed in a followup patch, for now do these checks to avoid segfaulting. Cc: Frédéric Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Tom Zanussi LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed