Hello.
I'm trying to profile my appliation on KNL 7210 by vtune 2017 CLI.
After I collect UNC_M_CAS_COUNT.RD and/or other Uncore Events;
$ amplxe-cl -collect-with runsa -knob event-config=UNC_M_CAS_COUNT.RD,UNC_M_CAS_COUNT.WR,UNC_E_RPQ_INSERTS,UNC_E_WPQ_INSERTS -r=results -- ./a.out
the above command outputs Uncore Event summary in stdio correctly.
Uncore Event summary -------------------- Uncore Event Type Uncore Event Count:Self ------------------------- ----------------------- UNC_M_CAS_COUNT.RD[UNIT0] 8258399 UNC_M_CAS_COUNT.RD[UNIT1] 8278020 UNC_M_CAS_COUNT.RD[UNIT2] 8354854 UNC_M_CAS_COUNT.RD[UNIT3] 8278123 UNC_M_CAS_COUNT.RD[UNIT4] 8308979 UNC_M_CAS_COUNT.RD[UNIT5] 8304918 UNC_M_CAS_COUNT.WR[UNIT0] 5697580 UNC_M_CAS_COUNT.WR[UNIT1] 2550703 UNC_M_CAS_COUNT.WR[UNIT2] 2552893 UNC_M_CAS_COUNT.WR[UNIT3] 2939496 UNC_M_CAS_COUNT.WR[UNIT4] 2911326 UNC_M_CAS_COUNT.WR[UNIT5] 2536911 UNC_E_RPQ_INSERTS[UNIT0] 54881582 UNC_E_RPQ_INSERTS[UNIT1] 54826864 UNC_E_RPQ_INSERTS[UNIT2] 54898834 UNC_E_RPQ_INSERTS[UNIT3] 54801387 UNC_E_RPQ_INSERTS[UNIT4] 54930880 UNC_E_RPQ_INSERTS[UNIT5] 54836255 UNC_E_RPQ_INSERTS[UNIT6] 54902356 UNC_E_RPQ_INSERTS[UNIT7] 54857971 UNC_E_WPQ_INSERTS[UNIT0] 1497406 UNC_E_WPQ_INSERTS[UNIT1] 1484151 UNC_E_WPQ_INSERTS[UNIT2] 1504067 UNC_E_WPQ_INSERTS[UNIT3] 1479528 UNC_E_WPQ_INSERTS[UNIT4] 1517354 UNC_E_WPQ_INSERTS[UNIT5] 1470074 UNC_E_WPQ_INSERTS[UNIT6] 1498471 UNC_E_WPQ_INSERTS[UNIT7] 1492242
But I can't get the Uncore Events counter but only Hardware Events (e.g. INST_RETIRED.ANY, MEM_UOPS_RETIRED.DTLB_MISS_LOADS, etc)
$ amplxe-cl -report hw-events -r results
Yes I know I specified "hw-events" but I didn't find any other option name.
Is it impossible to get Uncore Events counter on CLI?
Please tell me if you know the solution.
Thanks.
Thread Topic:
How-To