projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7655146
)
ARC: perf: bpok condition only exists for ARCompact
author
Vineet Gupta
<vgupta@synopsys.com>
Fri, 22 Feb 2019 18:42:44 +0000
(10:42 -0800)
committer
Vineet Gupta
<vgupta@synopsys.com>
Mon, 25 Feb 2019 20:11:00 +0000
(12:11 -0800)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/perf_event.h
patch
|
blob
|
history
diff --git
a/arch/arc/include/asm/perf_event.h
b/arch/arc/include/asm/perf_event.h
index
6958545
..
9cd7ee4
100644
(file)
--- a/
arch/arc/include/asm/perf_event.h
+++ b/
arch/arc/include/asm/perf_event.h
@@
-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 */