summaryrefslogtreecommitdiff
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2022-07-11 12:31:55 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-07-20 17:08:04 +0300
commit797efbc523b37de29dc533a8561d34b97deb42e4 (patch)
tree1fdfa09a245109903781b272162fa21acea03802 /tools/perf/Makefile
parentff7a78c210ed90bed915df55cc56876d4151c5ac (diff)
downloadlinux-797efbc523b37de29dc533a8561d34b97deb42e4.tar.xz
perf tools: Add guest_cpu to hypervisor threads
It is possible to know which guest machine was running at a point in time based on the PID of the currently running host thread. That is, perf identifies guest machines by the PID of the hypervisor. To determine the guest CPU, put it on the hypervisor (QEMU) thread for that VCPU. This is done when processing the id_index which provides the necessary information. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: kvm@vger.kernel.org Link: https://lore.kernel.org/r/20220711093218.10967-13-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile')
0 files changed, 0 insertions, 0 deletions