Re: [PATCH 01/17] perf: Unified API to record selective sets of archregisters

From: Paul Mackerras
Date: Sun Jul 29 2012 - 18:53:31 EST


On Thu, Jul 26, 2012 at 02:51:04PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Sun, Jul 22, 2012 at 02:14:24PM +0200, Jiri Olsa escreveu:
> > This brings a new API to help the selective dump of registers on
> > event sampling, and its implementation for x86 arch.
> >
> > Added HAVE_PERF_REGS config option to determine if the architecture
> > provides perf registers ABI.
> >
> > The information about desired registers will be passed in u64 mask.
> > It's up to the architecture to map the registers into the mask bits.
> >
> > For the x86 arch implementation, both 32 and 64 bit registers
> > bits are defined within single enum to ensure 64 bit system can
> > provide register dump for compat task if needed in the future.
>
>
> Anton, Paul, Ben,
>
> Does this look OK for PPC?

Yes, it looks fine. I assume we only want integer regs here, not
floating-point or vector regs.

Paul.
--
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/