.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Linux performance counter support for ARC |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2014-2015 Synopsys, Inc. (www.synopsys.com) |
---|
5 | 6 | * Copyright (C) 2011-2013 Synopsys, Inc. (www.synopsys.com) |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of the GNU General Public License version 2 as |
---|
9 | | - * published by the Free Software Foundation. |
---|
10 | | - * |
---|
11 | 7 | */ |
---|
12 | 8 | |
---|
13 | 9 | #ifndef __ASM_PERF_EVENT_H |
---|
.. | .. |
---|
105 | 101 | [PERF_COUNT_HW_INSTRUCTIONS] = "iall", |
---|
106 | 102 | /* All jump instructions that are taken */ |
---|
107 | 103 | [PERF_COUNT_HW_BRANCH_INSTRUCTIONS] = "ijmptak", |
---|
108 | | - [PERF_COUNT_ARC_BPOK] = "bpok", /* NP-NT, PT-T, PNT-NT */ |
---|
109 | 104 | #ifdef CONFIG_ISA_ARCV2 |
---|
110 | 105 | [PERF_COUNT_HW_BRANCH_MISSES] = "bpmp", |
---|
111 | 106 | #else |
---|
| 107 | + [PERF_COUNT_ARC_BPOK] = "bpok", /* NP-NT, PT-T, PNT-NT */ |
---|
112 | 108 | [PERF_COUNT_HW_BRANCH_MISSES] = "bpfail", /* NP-T, PT-NT, PNT-T */ |
---|
113 | 109 | #endif |
---|
114 | 110 | [PERF_COUNT_ARC_LDC] = "imemrdc", /* Instr: mem read cached */ |
---|