Home
last modified time | relevance | path

Searched hist:"0 d7d9b3a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/perf/
H A Dcore-fsl-emb.c0d7d9b3a Thu Jun 26 03:58:58 CDT 2014 Alexandru-Cezar Sardan <alexandru.sardan@freescale.com> 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>
0d7d9b3a Thu Jun 26 03:58:58 CDT 2014 Alexandru-Cezar Sardan <alexandru.sardan@freescale.com> 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>