aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2017-02-13 17:02:54 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2017-02-17 21:48:55 +1100
commit78a16d9fc1206e1a484b6ac96348756f3846bfea (patch)
tree2c242753a12bc3497a62892dd2e4fcde51a547eb /tools/perf/scripts/python/export-to-postgresql.py
parentpowerpc/perf: Add restrictions to PMC5 in power9 DD1 (diff)
downloadlinux-dev-78a16d9fc1206e1a484b6ac96348756f3846bfea.tar.xz
linux-dev-78a16d9fc1206e1a484b6ac96348756f3846bfea.zip
powerpc/perf: Avoid FAB_*_MATCH checks for power9
Since power9 does not support FAB_*_MATCH bits in MMCR1, avoid these checks for power9. For this, patch factor out code in isa207_get_constraint() to retain these checks only for power8. Patch also updates the comment in power9-pmu raw event encode layout to remove FAB_*_MATCH. Finally for power9, patch adds additional check for threshold events when adding the thresh mask and value in isa207_get_constraint(). fixes: 7ffd948fae4c ('powerpc/perf: factor out power8 pmu functions') fixes: 18201b204286 ('powerpc/perf: power9 raw event format encoding') Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions