]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
perf/powerpc: reset event hw state when adding it to the PMU
authorAlexandru-Cezar Sardan <alexandru.sardan@freescale.com>
Thu, 26 Jun 2014 08:58:58 +0000 (11:58 +0300)
committerScott Wood <scottwood@freescale.com>
Fri, 30 Jan 2015 05:44:18 +0000 (23:44 -0600)
commit0d7d9b3a456aa8670cd9552f69529d57716f3122
tree278c0c31448d4b3c144be1e8043774eb35ec5b44
parent5db431285d832156852d6f0013089b5d2305a28d
perf/powerpc: reset event hw state when adding it to the PMU

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 <alexandru.sardan@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/perf/core-fsl-emb.c