Skip to content
Commit 0d7d9b3a authored by Alexandru-Cezar Sardan's avatar Alexandru-Cezar Sardan Committed by Scott Wood
Browse files

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: default avatarAlexandru-Cezar Sardan <alexandru.sardan@freescale.com>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 5db43128
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment