Hi, Update the validate_power test to include power9 entries.
Signed-off-by: Will Schmidt <will_schm...@vnet.ibm.com> -- sniff-test run output: > ./validate Libpfm structure tests: libpfm ABI version : 0 pfm_pmu_info_t : Passed pfm_event_info_t : Passed pfm_event_attr_info_t : Passed pfm_pmu_encode_arg_t : Passed pfm_perf_encode_arg_t : Passed Libpfm internal table tests: <snip...> checking power9 (946 events): Passed Architecture specific tests: 20 PowerPC events: 0 errors All tests passed diff --git a/tests/validate_power.c b/tests/validate_power.c index 74ab30c..617efca 100644 --- a/tests/validate_power.c +++ b/tests/validate_power.c @@ -157,6 +157,20 @@ static const test_event_t ppc_test_events[]={ .codes[0] = 0xde200201e6ull, .fstr = "power8::PM_RC_LIFETIME_EXC_32", }, + { SRC_LINE, + .name = "power9::PM_CYC", + .ret = PFM_SUCCESS, + .count = 1, + .codes[0] = 0x1001e, + .fstr = "power9::PM_CYC", + }, + { SRC_LINE, + .name = "power9::PM_INST_DISP", + .ret = PFM_SUCCESS, + .count = 1, + .codes[0] = 0x200f2, + .fstr = "power9::PM_INST_DISP", + }, { SRC_LINE, .name = "powerpc_nest_mcs_read::MCS_00", .ret = PFM_SUCCESS, ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel