From: Dongsheng Yang Date: Fri, 20 Dec 2013 20:52:59 +0000 (-0500) Subject: perf tools: Use machine->pid for tgid if machine is guest. X-Git-Tag: v3.14-rc1~171^2~4^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5db57c4c47f3985dfc677152e25636a3401fa13;p=pandora-kernel.git perf tools: Use machine->pid for tgid if machine is guest. When we synthesize an comm event, if machine is guest, we should use the pid of machine as the event->comm.pid, rather than tgid of thread. Signed-off-by: Dongsheng Yang Cc: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Link: http://lkml.kernel.org/r/22455abe107c618a361e7b667ad0f098f7c9b4a3.1387572416.git.yangds.fnst@cn.fujitsu.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed