From: Namhyung Kim Date: Thu, 31 Oct 2013 04:58:30 +0000 (+0900) Subject: perf tools: Update cpumode for each cumulative entry X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~16^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7405d85d7a354b8ba49e2db7c4b027e6cb997c1;p=pandora-kernel.git perf tools: Update cpumode for each cumulative entry The cpumode and level in struct addr_localtion was set for a sample and but updated as cumulative callchains were added. This led to have non-matching symbol and cpumode in the output. Update it accordingly based on the fact whether the map is a part of the kernel or not. This is a reverse of what thread__find_addr_map() does. Signed-off-by: Namhyung Kim Tested-by: Arun Sharma Tested-by: Rodrigo Campos Cc: Frederic Weisbecker Link: http://lkml.kernel.org/r/1401335910-16832-7-git-send-email-namhyung@kernel.org Signed-off-by: Jiri Olsa --- Reading git-diff-tree failed