Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1314763 > unrolled thread

Re: [PATCH] perf/kvm: Guest Symbol Resolution for powerpc

Started byRavi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
First post2016-01-22 07:10 +0100
Last post2016-01-22 07:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] perf/kvm: Guest Symbol Resolution for powerpc Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> - 2016-01-22 07:10 +0100

#1314763 — Re: [PATCH] perf/kvm: Guest Symbol Resolution for powerpc

FromRavi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Date2016-01-22 07:10 +0100
SubjectRe: [PATCH] perf/kvm: Guest Symbol Resolution for powerpc
Message-ID<qTD50-8pm-17@gated-at.bofh.it>
Hi Arnaldo,

On Wednesday 13 January 2016 10:29 PM, Arnaldo Carvalho de Melo wrote:
> Em Tue, Dec 29, 2015 at 03:38:40PM +0530, Ravi Bangoria escreveu:
>> 'perf kvm {record|report}' is used to record and report the profiled
>> performance of any workload on a guest. From the host, we can collect
>> guest kernel statistics which is useful in finding out any contentions
>> in guest kernel symbols for a certain workload.
>> This feature is not available on powerpc because 'perf' relies on the
>> 'cycles' event (a PMU event) to profile the guest. However, for powerpc,
>> this can't be used from the host because the PMUs are controlled by the
>> guest rather than the host.
> Without entering the realms if the approach is the right one, which I
> leave to PowerPC experts, Ingo, PeterZ, etc:
>
> So, in these cases, please break this into a series, where you, for
> instance, will add that extra evsel parameter to the functions that will
> ultimately use it to extract those event fields, that should be a
> separate patch, so that when reviewing the "meat" of your patch we can
> quickly see what it does, not having to extract that from leg work.
>
> Two other patches should introduce arch__get_{ip,cpumode}().
>
> - Arnaldo

Thanks for suggestion. I've sent v2 with changes you suggested.

Can you please take a look.

Regards,
Ravi

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web