summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-stat.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2012-07-20 17:25:47 -0600
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-07-25 11:27:55 -0300
commit5cd95c2db479aa7a66f6fa572dfa410c6314c78e (patch)
treeff169d69984b54677b26092df96df74f8144f593 /tools/perf/builtin-stat.c
parentf51304d3fe4fee475991ee424a4b7f85eec65a7b (diff)
downloadblackbird-op-linux-5cd95c2db479aa7a66f6fa572dfa410c6314c78e.tar.gz
blackbird-op-linux-5cd95c2db479aa7a66f6fa572dfa410c6314c78e.zip
perf kvm: Set name for VM process in guest machine
COMM events are not generated in the context of a guest machine, so the thread name is never set for the VMM process. For example, the qemu-kvm name applies to the process in the host machine, not the guest machine. So, samples for guest machines are currently displayed as: 99.67% :5671 [unknown] [g] 0xffffffff81366b41 where 5671 is the pid of the VMM. With this patch the samples in the guest machine are shown as: 18.43% [guest/5671] [unknown] [g] 0xffffffff810d68b7 Tested-by: Jiri Olsa <jolsa@redhat.com> Signed-off-by: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1342826756-64663-3-git-send-email-dsahern@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-stat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud