Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbe025c3 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: perf: bpok condition only exists for ARCompact

parent 76551468
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,10 +105,10 @@ static const char * const arc_pmu_ev_hw_map[] = {
	[PERF_COUNT_HW_INSTRUCTIONS] = "iall",
	/* All jump instructions that are taken */
	[PERF_COUNT_HW_BRANCH_INSTRUCTIONS] = "ijmptak",
	[PERF_COUNT_ARC_BPOK]         = "bpok",	  /* NP-NT, PT-T, PNT-NT */
#ifdef CONFIG_ISA_ARCV2
	[PERF_COUNT_HW_BRANCH_MISSES] = "bpmp",
#else
	[PERF_COUNT_ARC_BPOK]         = "bpok",	  /* NP-NT, PT-T, PNT-NT */
	[PERF_COUNT_HW_BRANCH_MISSES] = "bpfail", /* NP-T, PT-NT, PNT-T */
#endif
	[PERF_COUNT_ARC_LDC] = "imemrdc",	/* Instr: mem read cached */