Re: [PATCH 1/2] oprofile: Add HAVE_OPROFILE_NMI_TIMER

2015-01-22 Thread Anton Blanchard
Hi Robert, > I also don't see a reason, why you don't want to support oprofile NMI > timer. Is there any? I couldn't come up with a case where it would be a benefit to us. We roll out PMU support for a new CPU early so that the kernel and tools support it when we GA. On the other hand adding opro

Re: [PATCH 1/2] oprofile: Add HAVE_OPROFILE_NMI_TIMER

2015-01-21 Thread Robert Richter
On 21.01.15 22:54:08, Anton Blanchard wrote: > HAVE_PERF_EVENTS_NMI is used for two things - the oprofile NMI timer > and the hard lockup detector. > > Create HAVE_OPROFILE_NMI_TIMER so an architecture can select them > separately. On ppc64 we want to add the hard lockup detector, but not > the op

[PATCH 1/2] oprofile: Add HAVE_OPROFILE_NMI_TIMER

2015-01-21 Thread Anton Blanchard
HAVE_PERF_EVENTS_NMI is used for two things - the oprofile NMI timer and the hard lockup detector. Create HAVE_OPROFILE_NMI_TIMER so an architecture can select them separately. On ppc64 we want to add the hard lockup detector, but not the oprofile NMI timer fallback. Signed-off-by: Anton Blanchar

[PATCH 1/2] oprofile: Add HAVE_OPROFILE_NMI_TIMER

2015-01-20 Thread Anton Blanchard
HAVE_PERF_EVENTS_NMI is used for two things - the oprofile NMI timer and the hardlockup detector. Create HAVE_OPROFILE_NMI_TIMER so an architecture can select them separately. On ppc64 we want to add the hardlockup detector, but not the oprofile NMI timer fallback. Signed-off-by: Anton Blanchard