Add testcase to validate POWERPC Nest PMUs Add test cases to validate POWERPC Nest PMUs
From: Deepthi Dharwar <deep...@linux.vnet.ibm.com> Patch enables addition of test cases to validate read and write MCS Nest PMU on POWERPC. Signed-off-by: Deepthi Dharwar <deep...@linux.vnet.ibm.com> --- tests/validate_power.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/validate_power.c b/tests/validate_power.c index 9f41ed5..74ab30c 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 = "powerpc_nest_mcs_read::MCS_00", + .ret = PFM_SUCCESS, + .count = 1, + .codes[0] = 0x118, + .fstr = "powerpc_nest_mcs_read::MCS_00", + }, + { SRC_LINE, + .name = "powerpc_nest_mcs_write::MCS_00", + .ret = PFM_SUCCESS, + .count = 1, + .codes[0] = 0x198, + .fstr = "powerpc_nest_mcs_write::MCS_00", + }, }; #define NUM_TEST_EVENTS (int)(sizeof(ppc_test_events)/sizeof(test_event_t)) Regards, Deepthi ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel