Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1353163
| From | Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC 4/4] perf kvm: Fix output fields instead of 'trace' for perf kvm report on powerpc |
| Date | 2016-03-08 16:50 +0100 |
| Message-ID | <ras3w-2Le-37@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <r5DLY-2n7-19@gated-at.bofh.it> <r8fWP-pB-47@gated-at.bofh.it> <r8hce-1c4-21@gated-at.bofh.it> <r8hOX-1I2-35@gated-at.bofh.it> <r8q5Q-80V-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Arnaldo,
Gentle reminder :) Any updates?
Regards,
Ravi
On Thursday 03 March 2016 06:49 AM, Ravi Bangoria wrote:
> Thanks acme,
>
> On Wednesday 02 March 2016 09:52 PM, Arnaldo Carvalho de Melo wrote:
>> Em Wed, Mar 02, 2016 at 09:16:48PM +0530, Ravi Bangoria escreveu:
>>> Thanks Arnaldo,
>>>
>>> Please find my comments.
>>>
>>> On Wednesday 02 March 2016 07:55 PM, Arnaldo Carvalho de Melo wrote:
>>>> Em Wed, Feb 24, 2016 at 02:37:45PM +0530, Ravi Bangoria escreveu:
>>>>> use_browser = 0;
>>>>> + if (!field_order &&
>>>>> + is_perf_data_reorded_on_ppc(session->evlist) &&
>>>>> + perf_guest_only())
>>>>> + field_order = "overhead,comm,dso,sym";
>>>>> +
>>>> Can you please do it as:
>>>>
>>>> __weak void arch__override_field_order(struct perf_evlist *evlist,
>>>> const char **field_order)
>>>> {
>>>> }
>>> So you mean like this - Just implement only weak function and move
>>> code into
>>> it?
>>> ie. No strong implementation at this point of time.
>>>
>>> Like,
>>>
>>> __weak void arch__override_field_order(struct perf_evlist *evlist,
>>> const
>>> char **f_order)
>>> {
>>> if (!field_order &&
>>> is_perf_data_reorded_on_ppc(session->evlist) &&
>> Oh, I see, ugh, when running on x86_64 we wouldn't use this, so we need
>> to have per arch default field orders, now I have to recall why is it
>> that we need this per-arch field order :-\
>
> Sorry, I'm little bit confused. We need arch specific functionality
> present
> on all arch to make cross arch reporting possible.
>
> for example, record perf.data on ppc and report on x86, we need
> ppc specific function present in perf binary compiled on x86.
>
> Please let me know if I understood it wrong.
>
> Regads,
> Ravi
>
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [RFC 4/4] perf kvm: Fix output fields instead of 'trace' for perf kvm report on powerpc Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> - 2016-03-08 16:50 +0100
csiph-web