hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/arch/arc/include/asm/perf_event.h
....@@ -1,13 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Linux performance counter support for ARC
34 *
45 * Copyright (C) 2014-2015 Synopsys, Inc. (www.synopsys.com)
56 * 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
- *
117 */
128
139 #ifndef __ASM_PERF_EVENT_H
....@@ -105,10 +101,10 @@
105101 [PERF_COUNT_HW_INSTRUCTIONS] = "iall",
106102 /* All jump instructions that are taken */
107103 [PERF_COUNT_HW_BRANCH_INSTRUCTIONS] = "ijmptak",
108
- [PERF_COUNT_ARC_BPOK] = "bpok", /* NP-NT, PT-T, PNT-NT */
109104 #ifdef CONFIG_ISA_ARCV2
110105 [PERF_COUNT_HW_BRANCH_MISSES] = "bpmp",
111106 #else
107
+ [PERF_COUNT_ARC_BPOK] = "bpok", /* NP-NT, PT-T, PNT-NT */
112108 [PERF_COUNT_HW_BRANCH_MISSES] = "bpfail", /* NP-T, PT-NT, PNT-T */
113109 #endif
114110 [PERF_COUNT_ARC_LDC] = "imemrdc", /* Instr: mem read cached */