Re: perf/powerpc: reset event hw state when adding it to the PMU

2015-01-29 Thread Scott Wood
On Thu, Jun 26, 2014 at 11:58:58AM +0300, Alexandru-Cezar Sardan wrote: > When adding an event to the PMU with PERF_EF_START the STOPPED and UPTODATE > flags need to be cleared in the hw.event status variable because they are > preventing the update of the event count on overflow interrupt. > > Si

[PATCH] perf/powerpc: reset event hw state when adding it to the PMU

2014-06-26 Thread Alexandru-Cezar Sardan
When adding an event to the PMU with PERF_EF_START the STOPPED and UPTODATE flags need to be cleared in the hw.event status variable because they are preventing the update of the event count on overflow interrupt. Signed-off-by: Alexandru-Cezar Sardan --- arch/powerpc/perf/core-fsl-emb.c |4