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,Oh, I see, ugh, when running on x86_64 we wouldn't use this, so we need
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:So you mean like this - Just implement only weak function and move code into
use_browser = 0;Can you please do it as:
+ if (!field_order &&
+ is_perf_data_reorded_on_ppc(session->evlist) &&
+ perf_guest_only())
+ field_order = "overhead,comm,dso,sym";
+
__weak void arch__override_field_order(struct perf_evlist *evlist, const char **field_order)
{
}
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) &&
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