From: Dongsheng Yang Date: Fri, 20 Dec 2013 20:52:58 +0000 (-0500) Subject: perf tools: Set event->header.misc to PERF_RECORD_MISC_GUEST_USER if machine is guest. X-Git-Tag: v3.14-rc1~171^2~4^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73547aacdcd45cdf8b53245ded9593d7c587501a;p=pandora-kernel.git perf tools: Set event->header.misc to PERF_RECORD_MISC_GUEST_USER if machine is guest. When we synthesize the mmap events of user space, if machine is guest, we should set the event->header.misc to PERF_RECORD_MISC_GUEST_USER, rather than PERF_RECORD_MISC_USER. Signed-off-by: Dongsheng Yang Cc: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Link: http://lkml.kernel.org/r/e6f8ff6505d2db8a4b21bff8e448bb9be0bcff35.1387572416.git.yangds.fnst@cn.fujitsu.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed