commit | 96c3c9e78f7fe45303985cce13ce26e35afd01ba | [log] [tgz] |
---|---|---|
author | Catalin Udma <catalin.udma@freescale.com> | Wed Jun 05 15:22:08 2013 -0500 |
committer | Scott Wood <scottwood@freescale.com> | Wed Aug 07 18:38:03 2013 -0500 |
tree | 96f0e95f0472e909dde39b3e1afe505a53398d2e | |
parent | a9a5cda06922545ed7540cf5ed7e5ad6b80851d9 [diff] |
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: Catalin Udma <catalin.udma@freescale.com> Signed-off-by: Lijun Pan <Lijun.Pan@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>