Re: [PATCH V3 2/3] perf/powerpc :add support for sampling intr machine state

2015-11-03 Thread Madhavan Srinivasan
On Tuesday 03 November 2015 02:46 PM, Michael Ellerman wrote: > On Tue, 2015-11-03 at 11:40 +0530, Anju T wrote: > >> The perf infrastructure uses a bit mask to find out >> valid registers to display. Define a register mask >> for supported registers defined in asm/perf_regs.h. >> The bit

Re: [PATCH V3 2/3] perf/powerpc :add support for sampling intr machine state

2015-11-03 Thread Anju T
Hi Michael, On Tuesday 03 November 2015 02:46 PM, Michael Ellerman wrote: On Tue, 2015-11-03 at 11:40 +0530, Anju T wrote: The perf infrastructure uses a bit mask to find out valid registers to display. Define a register mask for supported registers defined in asm/perf_regs.h. The bit

Re: [PATCH V3 2/3] perf/powerpc :add support for sampling intr machine state

2015-11-03 Thread Michael Ellerman
On Tue, 2015-11-03 at 11:40 +0530, Anju T wrote: > The perf infrastructure uses a bit mask to find out > valid registers to display. Define a register mask > for supported registers defined in asm/perf_regs.h. > The bit positions also correspond to register IDs > which is used by perf

Re: [PATCH V3 2/3] perf/powerpc :add support for sampling intr machine state

2015-11-03 Thread Michael Ellerman
On Tue, 2015-11-03 at 11:40 +0530, Anju T wrote: > The perf infrastructure uses a bit mask to find out > valid registers to display. Define a register mask > for supported registers defined in asm/perf_regs.h. > The bit positions also correspond to register IDs > which is used by perf

Re: [PATCH V3 2/3] perf/powerpc :add support for sampling intr machine state

2015-11-03 Thread Anju T
Hi Michael, On Tuesday 03 November 2015 02:46 PM, Michael Ellerman wrote: On Tue, 2015-11-03 at 11:40 +0530, Anju T wrote: The perf infrastructure uses a bit mask to find out valid registers to display. Define a register mask for supported registers defined in asm/perf_regs.h. The bit

Re: [PATCH V3 2/3] perf/powerpc :add support for sampling intr machine state

2015-11-03 Thread Madhavan Srinivasan
On Tuesday 03 November 2015 02:46 PM, Michael Ellerman wrote: > On Tue, 2015-11-03 at 11:40 +0530, Anju T wrote: > >> The perf infrastructure uses a bit mask to find out >> valid registers to display. Define a register mask >> for supported registers defined in asm/perf_regs.h. >> The bit

[PATCH V3 2/3] perf/powerpc :add support for sampling intr machine state

2015-11-02 Thread Anju T
The perf infrastructure uses a bit mask to find out valid registers to display. Define a register mask for supported registers defined in asm/perf_regs.h. The bit positions also correspond to register IDs which is used by perf infrastructure to fetch the register values.CONFIG_HAVE_PERF_REGS

[PATCH V3 2/3] perf/powerpc :add support for sampling intr machine state

2015-11-02 Thread Anju T
The perf infrastructure uses a bit mask to find out valid registers to display. Define a register mask for supported registers defined in asm/perf_regs.h. The bit positions also correspond to register IDs which is used by perf infrastructure to fetch the register values.CONFIG_HAVE_PERF_REGS