[PATCH 38/49] perf tools: Set event->header.misc to PERF_RECORD_MISC_GUEST_USER if machine is guest.

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang 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

[PATCH 38/49] perf tools: Set event-header.misc to PERF_RECORD_MISC_GUEST_USER if machine is guest.

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com 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 yangds.f...@cn.fujitsu.com Cc: David Ahern