Re: [RFC][PATCH 1/2] perf: Add 'perf kmem' tool

From: Peter Zijlstra
Date: Mon Nov 23 2009 - 02:29:19 EST


On Mon, 2009-11-23 at 07:51 +0100, Ingo Molnar wrote:
>
> * Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxx> wrote:
>
> > Em Fri, Nov 20, 2009 at 05:41:10PM +0100, Ingo Molnar escreveu:
> > > > So we have a mechanism that is already present in several distros
> > > > (build-id), that is in the kernel build process since ~2.6.23, and that
> > > > avoids using mismatching DSOs when resolving symbols.
> > >
> > > But what do we do if we have another box that runs say on a MIPS CPU,
> > > uses some minimal distro - and copy that perf.data over to an x86 box.
> >
> > There would be no problem, it would be just a matter of installing the
> > right -debuginfo packages, for MIPS.
>
> I havent tried this - is this really possible to do on an x86 box, with
> a typical distro? Can i install say Fedora PowerPC debuginfo packages on
> an x86 box, while also having the x86 debuginfo packages there?

The best option would be to allow to specify a chroot parameter, where
we can specify the embedded root filesystem on out machine.

I'm not even sure embedded distros even have this separate debug package
crazyness, you simply build the distro with or without debuginfo.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/