diff options
author | 2013-12-20 15:52:59 -0500 | |
---|---|---|
committer | 2013-12-23 16:49:50 -0300 | |
commit | f5db57c4c47f3985dfc677152e25636a3401fa13 (patch) | |
tree | 81da5bd51b3a6c7fb72fae902a049d8565c4c15c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf tools: Set event->header.misc to PERF_RECORD_MISC_GUEST_USER if machine is guest. (diff) | |
download | wireguard-linux-f5db57c4c47f3985dfc677152e25636a3401fa13.tar.xz wireguard-linux-f5db57c4c47f3985dfc677152e25636a3401fa13.zip |
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 <yangds.fnst@cn.fujitsu.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Link: http://lkml.kernel.org/r/22455abe107c618a361e7b667ad0f098f7c9b4a3.1387572416.git.yangds.fnst@cn.fujitsu.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions