1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839
|
/*
* Contributed by John Linford <jlinford@nvidia.com>
* Stephane Eranian <eranian@gmail.com>
*
* SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
* ARM Neoverse V2
* References:
* - Arm Neoverse V2 Core TRM: https://developer.arm.com/documentation/102375/0002
* - https://github.com/ARM-software/data/blob/master/pmu/neoverse-v2.json
*/
static const arm_entry_t arm_v2_pe[]={
{.name = "SW_INCR",
.modmsk = ARMV9_ATTRS,
.code = 0x00,
.desc = "Instruction architecturally executed (condition check pass) software increment"
},
{.name = "L1I_CACHE_REFILL",
.modmsk = ARMV9_ATTRS,
.code = 0x01,
.desc = "Level 1 instruction cache refills"
},
{.name = "L1I_TLB_REFILL",
.modmsk = ARMV9_ATTRS,
.code = 0x02,
.desc = "Level 1 instruction TLB refills"
},
{.name = "L1D_CACHE_REFILL",
.modmsk = ARMV9_ATTRS,
.code = 0x03,
.desc = "Level 1 data cache refills"
},
{.name = "L1D_CACHE",
.modmsk = ARMV9_ATTRS,
.code = 0x04,
.desc = "Level 1 data cache accesses"
},
{.name = "L1D_TLB_REFILL",
.modmsk = ARMV9_ATTRS,
.code = 0x05,
.desc = "Level 1 data TLB refills"
},
{.name = "INST_RETIRED",
.modmsk = ARMV9_ATTRS,
.code = 0x08,
.desc = "Instructions architecturally executed"
},
{.name = "EXC_TAKEN",
.modmsk = ARMV9_ATTRS,
.code = 0x09,
.desc = "Exceptions taken"
},
{.name = "EXC_RETURN",
.modmsk = ARMV9_ATTRS,
.code = 0x0a,
.desc = "Instructions architecturally executed (condition check pass) - Exception return"
},
{.name = "CID_WRITE_RETIRED",
.modmsk = ARMV9_ATTRS,
.code = 0x0b,
.desc = "Instructions architecturally executed (condition check pass) - Write to CONTEXTIDR",
},
{.name = "BR_MIS_PRED",
.modmsk = ARMV9_ATTRS,
.code = 0x10,
.desc = "Mispredicted or not predicted branches speculatively executed"
},
{.name = "CPU_CYCLES",
.modmsk = ARMV9_ATTRS,
.code = 0x11,
.desc = "Cycles"
},
{.name = "BR_PRED",
.modmsk = ARMV9_ATTRS,
.code = 0x12,
.desc = "Predictable branches speculatively executed"
},
{.name = "MEM_ACCESS",
.modmsk = ARMV9_ATTRS,
.code = 0x13,
.desc = "Data memory accesses"
},
{.name = "L1I_CACHE_ACCESS",
.modmsk = ARMV9_ATTRS,
.equiv = "L1I_CACHE",
.code = 0x14,
.desc = "Level 1 instruction cache accesses (deprecated)"
},
{.name = "L1I_CACHE",
.modmsk = ARMV9_ATTRS,
.code = 0x14,
.desc = "Level 1 instruction cache accesses"
},
{.name = "L1D_CACHE_WB",
.modmsk = ARMV9_ATTRS,
.code = 0x15,
.desc = "Level 1 data cache write-backs"
},
{.name = "L2D_CACHE",
.modmsk = ARMV9_ATTRS,
.code = 0x16,
.desc = "Level 2 data cache accesses"
},
{.name = "L2D_CACHE_REFILL",
.modmsk = ARMV9_ATTRS,
.code = 0x17,
.desc = "Level 2 data cache refills"
},
{.name = "L2D_CACHE_WB",
.modmsk = ARMV9_ATTRS,
.code = 0x18,
.desc = "Level 2 data cache write-backs"
},
{.name = "BUS_ACCESS",
.modmsk = ARMV9_ATTRS,
.code = 0x19,
.desc = "Bus access This event counts for every beat of data transferred over the data channels between the core and the Snoop Control Unit (SCU). If both read and write data beats are transferred on a given cycle, this event is counted twice on that cycle. This event counts the sum of BUS_ACCESS_RD, BUS_ACCESS_WR, and any snoop data responses"
},
{.name = "MEMORY_ERROR",
.modmsk = ARMV9_ATTRS,
.code = 0x1a,
.desc = "Local memory error This event counts any correctable or uncorrectable memory error (ECC or parity) in the protected core RAMs"
},
{.name = "INST_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x1b,
.desc = "Instructions speculatively executed"
},
{.name = "TTBR_WRITE_RETIRED",
.modmsk = ARMV9_ATTRS,
.code = 0x1c,
.desc = "Instruction architecturally executed, condition code check pass, write to TTBR This event only counts writes to TTBR0_EL1/TTBR1_EL1. Accesses to TTBR0_EL12/TTBR1_EL12 or TTBR0_EL2/TTBR1_EL2 are not counted"
},
{.name = "BUS_MASTER_CYCLE",
.modmsk = ARMV9_ATTRS,
.code = 0x1d,
.desc = "Bus cycles. This event duplicate cycles",
},
{.name = "COUNTER_OVERFLOW",
.modmsk = ARMV9_ATTRS,
.code = 0x1e,
.desc = "For odd-numbered counters, this event increments the count by one for each overflow of the preceding even-numbered counter. For even-numbered counters, there is no increment",
},
{.name = "L2D_CACHE_ALLOCATE",
.modmsk = ARMV9_ATTRS,
.code = 0x20,
.desc = "Level 2 data/unified cache allocations without refill"
},
{.name = "BR_RETIRED",
.modmsk = ARMV9_ATTRS,
.code = 0x21,
.desc = "Counts all branches on the architecturally executed path that would incur cost if mispredicted"
},
{.name = "BR_MIS_PRED_RETIRED",
.modmsk = ARMV9_ATTRS,
.code = 0x22,
.desc = "Instructions executed, mis-predicted branch. All instructions counted by BR_RETIRED that were not correctly predicted"
},
{.name = "STALL_FRONTEND",
.modmsk = ARMV9_ATTRS,
.code = 0x23,
.desc = "Cycles in which no operation issued because there were no operations to issue"
},
{.name = "STALL_BACKEND",
.modmsk = ARMV9_ATTRS,
.code = 0x24,
.desc = "Cycles in which no operation issued due to back-end resources being unavailable"
},
{.name = "L1D_TLB",
.modmsk = ARMV9_ATTRS,
.code = 0x25,
.desc = "Level 1 data TLB accesses"
},
{.name = "L1I_TLB",
.modmsk = ARMV9_ATTRS,
.code = 0x26,
.desc = "Instruction TLB accesses"
},
{.name = "L3D_CACHE_ALLOCATE",
.modmsk = ARMV9_ATTRS,
.code = 0x29,
.desc = "Attributable L3 cache allocation without refill This event counts any full cache line write into the L3 cache which does not cause a linefill, including Write-Backs from L2 to L3 and full-line writes which do not allocate into L2"
},
{.name = "L3D_CACHE_REFILL",
.modmsk = ARMV9_ATTRS,
.code = 0x2a,
.desc = "Attributable L3 cache refill This event counts for any cacheable read transaction returning data from the SCU for which the data source was outside the cluster. Transactions such as ReadUnique are counted as read transactions, even though they can be generated by store instructions"
},
{.name = "L3D_CACHE",
.modmsk = ARMV9_ATTRS,
.code = 0x2b,
.desc = "Attributable L3 cache access This event counts for any cacheable read transaction returning data from the SCU, or for any cacheable write to the SCU"
},
{.name = "L2D_TLB_REFILL",
.modmsk = ARMV9_ATTRS,
.code = 0x2d,
.desc = "Attributable L2 data or unified TLB refills. Counts on any refill of the L2TLB caused by either an instruction or data access (MMU must be enabled)",
},
{.name = "L2_TLB_REQ",
.modmsk = ARMV9_ATTRS,
.code = 0x2f,
.equiv = "L2D_TLB",
.desc = "Attributable L2 TLB access This event counts on any access to the MMUTC (caused by a refill of any of the L1 TLBs). This event does not count if the MMU is disabled",
},
{.name = "L2D_TLB",
.modmsk = ARMV9_ATTRS,
.code = 0x2f,
.desc = "Attributable L2 TLB access This event counts on any access to the MMUTC (caused by a refill of any of the L1 TLBs). This event does not count if the MMU is disabled",
},
{.name = "REMOTE_ACCESS",
.modmsk = ARMV9_ATTRS,
.code = 0x31,
.desc = "Number of accesses to another socket",
},
{.name = "DTLB_WALK",
.modmsk = ARMV9_ATTRS,
.code = 0x34,
.desc = "Accesses to the data TLB that caused a page walk. Counts any data access which causes L2D_TLB_REFILL to count",
},
{.name = "ITLB_WALK",
.modmsk = ARMV9_ATTRS,
.code = 0x35,
.desc = "Accesses to the instruction TLB that caused a page walk. Counts any instruction which causes L2D_TLB_REFILL to count",
},
{.name = "LL_CACHE_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x36,
.desc = "Last Level cache accesses for reads",
},
{.name = "LL_CACHE_MISS_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x37,
.desc = "Last Level cache misses for reads",
},
{.name = "L1D_CACHE_LMISS_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x39,
.desc = "Counts the number Level 1 data cache long-latency misses",
},
{.name = "OP_RETIRED",
.modmsk = ARMV9_ATTRS,
.code = 0x3a,
.desc = "Counts the number of micro-ops architecturally executed",
},
{.name = "OP_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x3b,
.desc = "Counts the number of speculatively executed micro-ops",
},
{.name = "STALL",
.modmsk = ARMV9_ATTRS,
.code = 0x3c,
.desc = "Counts cycles in which no operation is sent for execution",
},
{.name = "STALL_SLOT_BACKEND",
.modmsk = ARMV9_ATTRS,
.code = 0x3d,
.desc = "No operation sent for execution on a slot due to the backend",
},
{.name = "STALL_SLOT_FRONTEND",
.modmsk = ARMV9_ATTRS,
.code = 0x3e,
.desc = "No operation sent for execution on a slot due to the frontend",
},
{.name = "STALL_SLOT",
.modmsk = ARMV9_ATTRS,
.code = 0x3f,
.desc = "No operation sent for execution on a slot",
},
{.name = "L1D_CACHE_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x40,
.desc = "Level 1 data cache read accesses"
},
{.name = "L1D_CACHE_WR",
.modmsk = ARMV9_ATTRS,
.code = 0x41,
.desc = "Level 1 data cache write accesses"
},
{.name = "L1D_CACHE_REFILL_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x42,
.desc = "Level 1 data cache read refills"
},
{.name = "L1D_CACHE_REFILL_WR",
.modmsk = ARMV9_ATTRS,
.code = 0x43,
.desc = "Level 1 data cache write refills"
},
{.name = "L1D_CACHE_REFILL_INNER",
.modmsk = ARMV9_ATTRS,
.code = 0x44,
.desc = "Level 1 data cache refills, inner. Counts any L1D cache line fill which hits in the L2, L3 or another core in the cluster"
},
{.name = "L1D_CACHE_REFILL_OUTER",
.modmsk = ARMV9_ATTRS,
.code = 0x45,
.desc = "Level 1 data cache refills, outer. Counts any L1D cache line fill which does not hit in the L2, L3 or another core in the cluster and instead obtains data from outside the cluster"
},
{.name = "L1D_CACHE_WB_VICTIM",
.modmsk = ARMV9_ATTRS,
.code = 0x46,
.desc = "Level 1 data cache write-backs (victim eviction)",
},
{.name = "L1D_CACHE_WB_CLEAN",
.modmsk = ARMV9_ATTRS,
.code = 0x47,
.desc = "Level 1 data cache write-backs (clean and coherency eviction)",
},
{.name = "L1D_CACHE_INVAL",
.modmsk = ARMV9_ATTRS,
.code = 0x48,
.desc = "Level 1 data cache invalidations"
},
{.name = "L1D_TLB_REFILL_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x4c,
.desc = "Level 1 data TLB read refills"
},
{.name = "L1D_TLB_REFILL_WR",
.modmsk = ARMV9_ATTRS,
.code = 0x4d,
.desc = "Level 1 data TLB write refills"
},
{.name = "L1D_TLB_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x4e,
.desc = "Level 1 data TLB read accesses"
},
{.name = "L1D_TLB_WR",
.modmsk = ARMV9_ATTRS,
.code = 0x4f,
.desc = "Level 1 data TLB write accesses"
},
{.name = "L2D_CACHE_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x50,
.desc = "Level 2 data cache read accesses"
},
{.name = "L2D_CACHE_WR",
.modmsk = ARMV9_ATTRS,
.code = 0x51,
.desc = "Level 2 data cache write accesses"
},
{.name = "L2D_CACHE_REFILL_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x52,
.desc = "Level 2 data cache read refills"
},
{.name = "L2D_CACHE_REFILL_WR",
.modmsk = ARMV9_ATTRS,
.code = 0x53,
.desc = "Level 2 data cache write refills"
},
{.name = "L2D_CACHE_WB_VICTIM",
.modmsk = ARMV9_ATTRS,
.code = 0x56,
.desc = "Level 2 data cache victim write-backs"
},
{.name = "L2D_CACHE_WB_CLEAN",
.modmsk = ARMV9_ATTRS,
.code = 0x57,
.desc = "Level 2 data cache cleaning and coherency write-backs"
},
{.name = "L2D_CACHE_INVAL",
.modmsk = ARMV9_ATTRS,
.code = 0x58,
.desc = "Level 2 data cache invalidations"
},
{.name = "L2D_TLB_REFILL_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x5c,
.desc = "Level 2 data TLB refills on read"
},
{.name = "L2D_TLB_REFILL_WR",
.modmsk = ARMV9_ATTRS,
.code = 0x5d,
.desc = "Level 2 data TLB refills on write"
},
{.name = "L2D_TLB_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x5e,
.desc = "Level 2 data TLB accesses on read"
},
{.name = "L2D_TLB_WR",
.modmsk = ARMV9_ATTRS,
.code = 0x5f,
.desc = "Level 2 data TLB accesses on write"
},
{.name = "BUS_ACCESS_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x60,
.desc = "Bus read accesses"
},
{.name = "BUS_ACCESS_WR",
.modmsk = ARMV9_ATTRS,
.code = 0x61,
.desc = "Bus write accesses"
},
{.name = "MEM_ACCESS_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x66,
.desc = "Data memory read accesses (includes SVE)"
},
{.name = "MEM_READ_ACCESS",
.modmsk = ARMV9_ATTRS,
.equiv = "MEM_ACCESS_RD",
.code = 0x66,
.desc = "Data memory read accesses"
},
{.name = "MEM_ACCESS_WR",
.modmsk = ARMV9_ATTRS,
.code = 0x67,
.desc = "Data memory write accesses (includes SVE)"
},
{.name = "MEM_WRITE_ACCESS",
.modmsk = ARMV9_ATTRS,
.equiv = "MEM_ACCESS_WR",
.code = 0x67,
.desc = "Data memory write accesses"
},
{.name = "UNALIGNED_LD_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x68,
.desc = "Unaligned read accesses"
},
{.name = "UNALIGNED_ST_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x69,
.desc = "Unaligned write accesses"
},
{.name = "UNALIGNED_LDST_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x6a,
.desc = "Unaligned accesses (includes speculatively executed SVE load and store operations that access at least one unaligned element address)"
},
{.name = "UNALIGNED_LDST_ACCESS",
.modmsk = ARMV9_ATTRS,
.equiv = "UNALIGNED_LDST_SPEC",
.code = 0x6a,
.desc = "Unaligned accesses"
},
{.name = "LDREX_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x6c,
.desc = "Exclusive operations speculatively executed - LDREX or LDX"
},
{.name = "STREX_PASS_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x6d,
.desc = "Exclusive operations speculative executed - STREX or STX pass"
},
{.name = "STREX_FAIL_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x6e,
.desc = "Exclusive operations speculative executed - STREX or STX fail"
},
{.name = "STREX_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x6f,
.desc = "Exclusive operations speculatively executed - STREX or STX"
},
{.name = "LD_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x70,
.desc = "Load instructions speculatively executed"
},
{.name = "ST_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x71,
.desc = "Store instructions speculatively executed"
},
{.name = "DP_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x73,
.desc = "Integer data processing instructions speculatively executed"
},
{.name = "ASE_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x74,
.desc = "Advanced SIMD instructions speculatively executed"
},
{.name = "VFP_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x75,
.desc = "Floating-point instructions speculatively executed"
},
{.name = "PC_WRITE_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x76,
.desc = "Software change of the PC instruction speculatively executed"
},
{.name = "CRYPTO_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x77,
.desc = "Cryptographic instructions speculatively executed"
},
{.name = "BR_IMMED_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x78,
.desc = "Immediate branches speculatively executed"
},
{.name = "BR_RET_SPEC",
.modmsk = ARMV9_ATTRS,
.equiv = "BR_RETURN_SPEC",
.code = 0x79,
.desc = "Return branches speculatively executed"
},
{.name = "BR_RETURN_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x79,
.desc = "Return branches speculatively executed"
},
{.name = "BR_INDIRECT_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x7a,
.desc = "Indirect branches speculatively executed"
},
{.name = "ISB_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x7c,
.desc = "ISB barriers speculatively executed"
},
{.name = "DSB_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x7d,
.desc = "DSB barriers speculatively executed"
},
{.name = "DMB_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x7e,
.desc = "DMB barriers speculatively executed"
},
{.name = "EXC_UNDEF",
.modmsk = ARMV9_ATTRS,
.code = 0x81,
.desc = "Undefined exceptions taken locally"
},
{.name = "EXC_SVC",
.modmsk = ARMV9_ATTRS,
.code = 0x82,
.desc = "Exceptions taken, supervisor call"
},
{.name = "EXC_PABORT",
.modmsk = ARMV9_ATTRS,
.code = 0x83,
.desc = "Exceptions taken, instruction abort"
},
{.name = "EXC_DABORT",
.modmsk = ARMV9_ATTRS,
.code = 0x84,
.desc = "Exceptions taken locally, data abort or SError"
},
{.name = "EXC_IRQ",
.modmsk = ARMV9_ATTRS,
.code = 0x86,
.desc = "Exceptions taken locally, IRQ"
},
{.name = "EXC_FIQ",
.modmsk = ARMV9_ATTRS,
.code = 0x87,
.desc = "Exceptions taken locally, FIQ"
},
{.name = "EXC_SMC",
.modmsk = ARMV9_ATTRS,
.code = 0x88,
.desc = "Exceptions taken locally, secure monitor call"
},
{.name = "EXC_HVC",
.modmsk = ARMV9_ATTRS,
.code = 0x8a,
.desc = "Exceptions taken, hypervisor call"
},
{.name = "EXC_TRAP_PABORT",
.modmsk = ARMV9_ATTRS,
.code = 0x8b,
.desc = "Exceptions taken, instruction abort not taken locally"
},
{.name = "EXC_TRAP_DABORT",
.modmsk = ARMV9_ATTRS,
.code = 0x8c,
.desc = "Exceptions taken, data abort or SError not taken locally"
},
{.name = "EXC_TRAP_OTHER",
.modmsk = ARMV9_ATTRS,
.code = 0x8d,
.desc = "Exceptions taken, other traps not taken locally"
},
{.name = "EXC_TRAP_IRQ",
.modmsk = ARMV9_ATTRS,
.code = 0x8e,
.desc = "Exceptions taken, irq not taken locally"
},
{.name = "EXC_TRAP_FIQ",
.modmsk = ARMV9_ATTRS,
.code = 0x8f,
.desc = "Exceptions taken, fiq not taken locally"
},
{.name = "RC_LD_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x90,
.desc = "Release consistency instructions speculatively executed (load-acquire)",
},
{.name = "RC_ST_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x91,
.desc = "Release consistency instructions speculatively executed (store-release)",
},
{.name = "L3_CACHE_RD",
.modmsk = ARMV9_ATTRS,
.code = 0xA0,
.desc = "L3 cache read",
},
{.name = "SAMPLE_POP",
.modmsk = ARMV9_ATTRS,
.code = 0x4000,
.desc = "Number of operations that might be sampled by SPE, whether or not the operation was sampled",
},
{.name = "SAMPLE_FEED",
.modmsk = ARMV9_ATTRS,
.code = 0x4001,
.desc = "Number of times the SPE sample interval counter reaches zero and is reloaded",
},
{.name = "SAMPLE_FILTRATE",
.modmsk = ARMV9_ATTRS,
.code = 0x4002,
.desc = "Number of times SPE completed sample record passes the SPE filters and is written to the buffer"
},
{.name = "SAMPLE_COLLISION",
.modmsk = ARMV9_ATTRS,
.code = 0x4003,
.desc = "Number of times SPE has a sample record taken when the previous sampled operation has not yet completed its record"
},
{.name = "CNT_CYCLES",
.modmsk = ARMV9_ATTRS,
.code = 0x4004,
.desc = "Constant frequency cycles",
},
{.name = "STALL_BACKEND_MEM",
.modmsk = ARMV9_ATTRS,
.code = 0x4005,
.desc = "No operation sent due to the backend and memory stalls",
},
{.name = "L1I_CACHE_LMISS",
.modmsk = ARMV9_ATTRS,
.code = 0x4006,
.desc = "Counts L1 instruction cache long latency misses",
},
{.name = "L2D_CACHE_LMISS_RD",
.modmsk = ARMV9_ATTRS,
.code = 0x4009,
.desc = "Counts L2 cache long latency misses",
},
{.name = "TRB_WRAP",
.modmsk = ARMV9_ATTRS,
.code = 0x400C,
.desc = "Trace buffer current write pointer wrapped",
},
{.name = "TRCEXTOUT0",
.modmsk = ARMV9_ATTRS,
.code = 0x4010,
.desc = "PE Trace Unit external output 0 This event is not exported to the trace unit",
},
{.name = "TRCEXTOUT1",
.modmsk = ARMV9_ATTRS,
.code = 0x4011,
.desc = "PE Trace Unit external output 1 This event is not exported to the trace unit",
},
{.name = "TRCEXTOUT2",
.modmsk = ARMV9_ATTRS,
.code = 0x4012,
.desc = "PE Trace Unit external output 2 This event is not exported to the trace unit",
},
{.name = "TRCEXTOUT3",
.modmsk = ARMV9_ATTRS,
.code = 0x4013,
.desc = "PE Trace Unit external output 3 This event is not exported to the trace unit",
},
{.name = "CTI_TRIGOUT4",
.modmsk = ARMV9_ATTRS,
.code = 0x4018,
.desc = "Cross-trigger Interface output trigger 4",
},
{.name = "CTI_TRIGOUT5",
.modmsk = ARMV9_ATTRS,
.code = 0x4019,
.desc = "Cross-trigger Interface output trigger 5",
},
{.name = "CTI_TRIGOUT6",
.modmsk = ARMV9_ATTRS,
.code = 0x401a,
.desc = "Cross-trigger Interface output trigger 6",
},
{.name = "CTI_TRIGOUT7",
.modmsk = ARMV9_ATTRS,
.code = 0x401b,
.desc = "Cross-trigger Interface output trigger 7",
},
{.name = "LDST_ALIGN_LAT",
.modmsk = ARMV9_ATTRS,
.code = 0x4020,
.desc = "Access with additional latency from alignment",
},
{.name = "LD_ALIGN_LAT",
.modmsk = ARMV9_ATTRS,
.code = 0x4021,
.desc = "Load with additional latency from alignment",
},
{.name = "ST_ALIGN_LAT",
.modmsk = ARMV9_ATTRS,
.code = 0x4022,
.desc = "Store with additional latency from alignment",
},
{.name = "MEM_ACCESS_CHECKED",
.modmsk = ARMV9_ATTRS,
.code = 0x4024,
.desc = "Checked data memory access",
},
{.name = "MEM_ACCESS_RD_CHECKED",
.modmsk = ARMV9_ATTRS,
.code = 0x4025,
.desc = "Checked data memory access, read",
},
{.name = "MEM_ACCESS_WR_CHECKED",
.modmsk = ARMV9_ATTRS,
.code = 0x4026,
.desc = "Checked data memory access, write",
},
{.name = "ASE_INST_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x8005,
.desc = "Advanced SIMD operations sepculatively executed",
},
{.name = "SVE_INST_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x8006,
.desc = "SVE operations sepculatively executed",
},
{.name = "FP_HP_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x8014,
.desc = "Half-precision floating-point operation speculatively executed",
},
{.name = "FP_SP_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x8018,
.desc = "Single-precision floating-point operation speculatively executed",
},
{.name = "FP_DP_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x801C,
.desc = "Double-precision floating-point operation speculatively executed",
},
{.name = "SVE_PRED_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x8074,
.desc = "SVE predicated operations speculatively executed",
},
{.name = "SVE_PRED_EMPTY_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x8075,
.desc = "SVE predicated operations with no active predicates speculatively executed",
},
{.name = "SVE_PRED_FULL_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x8076,
.desc = "SVE predicated operations with all active predicates speculatively executed",
},
{.name = "SVE_PRED_PARTIAL_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x8077,
.desc = "SVE predicated operations with partially active predicates speculatively executed",
},
{.name = "SVE_PRED_NOT_FULL_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x8079,
.desc = "SVE predicated operations speculatively executed with a Governing predicate in which at least one element is FALSE",
},
{.name = "SVE_LDFF_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x80bc,
.desc = "SVE first-fault load operations speculatively executed",
},
{.name = "SVE_LDFF_FAULT_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x80bd,
.desc = "SVE first-fault load operations speculatively executed which set FFR bit to 0",
},
{.name = "FP_SCALE_OPS_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x80c0,
.desc = "Scalable floating-point element operations speculatively executed",
},
{.name = "FP_FIXED_OPS_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x80c1,
.desc = "Non-scalable floating-point element operations speculatively executed",
},
{.name = "ASE_SVE_INT8_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x80e3,
.desc = "Operation counted by ASE_SVE_INT_SPEC where the largest type is 8-bit integer",
},
{.name = "ASE_SVE_INT16_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x80e7,
.desc = "Operation counted by ASE_SVE_INT_SPEC where the largest type is 16-bit integer",
},
{.name = "ASE_SVE_INT32_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x80eb,
.desc = "Operation counted by ASE_SVE_INT_SPEC where the largest type is 32-bit integer",
},
{.name = "ASE_SVE_INT64_SPEC",
.modmsk = ARMV9_ATTRS,
.code = 0x80ef,
.desc = "Operation counted by ASE_SVE_INT_SPEC where the largest type is 64-bit integer",
},
};
|