aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/plugin_function.c
diff options
context:
space:
mode:
authorDongsheng Yang <[email protected]>2013-12-20 20:52:59 +0000
committerArnaldo Carvalho de Melo <[email protected]>2013-12-23 19:49:50 +0000
commitf5db57c4c47f3985dfc677152e25636a3401fa13 (patch)
tree81da5bd51b3a6c7fb72fae902a049d8565c4c15c /tools/lib/traceevent/plugin_function.c
parentperf tools: Set event->header.misc to PERF_RECORD_MISC_GUEST_USER if machine ... (diff)
downloadkernel-f5db57c4c47f3985dfc677152e25636a3401fa13.tar.gz
kernel-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 <[email protected]> Cc: David Ahern <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: http://lkml.kernel.org/r/22455abe107c618a361e7b667ad0f098f7c9b4a3.1387572416.git.yangds.fnst@cn.fujitsu.com Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugin_function.c')
0 files changed, 0 insertions, 0 deletions