Skip to content
Commit 96c3c9e7 authored by Catalin Udma's avatar Catalin Udma Committed by Scott Wood
Browse files

powerpc/perf: increase the perf HW events to 6



This change is required after the e6500 perf support has been added.
There are 6 counters in e6500 core instead of 4 in e500 core and
the MAX_HWEVENTS counter should be changed accordingly from 4 to 6.
Added also runtime check for counters overflow.

Signed-off-by: default avatarCatalin Udma <catalin.udma@freescale.com>
Signed-off-by: default avatarLijun Pan <Lijun.Pan@freescale.com>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent a9a5cda0
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