rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2018 MediaTek Inc. |
| 3 | * |
| 4 | * This program is free software: you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
| 14 | |
| 15 | #ifndef _V6_PMU_NAME_H_ |
| 16 | #define _V6_PMU_NAME_H_ |
| 17 | |
| 18 | /* ARM11 */ |
| 19 | struct pmu_desc arm11_pmu_desc[] = { |
| 20 | {0x00, "ICACHE_MISS"}, |
| 21 | {0x01, "IBUF_STALL"}, |
| 22 | {0x02, "DDEP_STALL"}, |
| 23 | {0x03, "ITLB_MISS"}, |
| 24 | {0x04, "DTLB_MISS"}, |
| 25 | {0x05, "BR_EXEC"}, |
| 26 | {0x06, "BR_MISPREDICT"}, |
| 27 | {0x07, "CPU_INST"}, |
| 28 | {0x09, "DCACHE_HIT"}, |
| 29 | {0x0A, "L1D_CACHE"}, |
| 30 | {0x0B, "L1D_CACHE_REFILL"}, |
| 31 | {0x0C, "DCACHE_WBACK"}, |
| 32 | {0x0D, "SW_PC_CHANGE"}, |
| 33 | {0x0F, "MAIN_TLB_MISS"}, |
| 34 | {0x10, "EXPL_D_ACCESS"}, |
| 35 | {0x11, "LSU_FULL_STALL"}, |
| 36 | {0x12, "WBUF_DRAINED"}, |
| 37 | {0xFF, "CPU_CYCLES"}, |
| 38 | {0x20, "NOP"}, |
| 39 | }; |
| 40 | |
| 41 | #define ARM11_PMU_DESC_COUNT (sizeof(arm11_pmu_desc) / sizeof(struct pmu_desc)) |
| 42 | |
| 43 | #endif /* _V6_PMU_NAME_H_ */ |