xref: /linux/tools/perf/pmu-events/arch/s390/cf_z13/transaction.json (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
183eb383eSThomas Richter[
283eb383eSThomas Richter  {
383eb383eSThomas Richter    "BriefDescription": "Transaction count",
483eb383eSThomas Richter    "MetricName": "transaction",
583eb383eSThomas Richter    "MetricExpr": "TX_C_TEND + TX_NC_TEND + TX_NC_TABORT + TX_C_TABORT_SPECIAL + TX_C_TABORT_NO_SPECIAL"
674395567SThomas Richter  },
774395567SThomas Richter  {
874395567SThomas Richter    "BriefDescription": "Cycles per Instruction",
974395567SThomas Richter    "MetricName": "cpi",
1074395567SThomas Richter    "MetricExpr": "CPU_CYCLES / INSTRUCTIONS"
1174395567SThomas Richter  },
1274395567SThomas Richter  {
1374395567SThomas Richter    "BriefDescription": "Problem State Instruction Ratio",
1474395567SThomas Richter    "MetricName": "prbstate",
1574395567SThomas Richter    "MetricExpr": "(PROBLEM_STATE_INSTRUCTIONS / INSTRUCTIONS) * 100"
1674395567SThomas Richter  },
1774395567SThomas Richter  {
1874395567SThomas Richter    "BriefDescription": "Level One Miss per 100 Instructions",
1974395567SThomas Richter    "MetricName": "l1mp",
2074395567SThomas Richter    "MetricExpr": "((L1I_DIR_WRITES + L1D_DIR_WRITES) / INSTRUCTIONS) * 100"
21850eea23SThomas Richter  },
22850eea23SThomas Richter  {
23850eea23SThomas Richter    "BriefDescription": "Percentage sourced from Level 2 cache",
24850eea23SThomas Richter    "MetricName": "l2p",
25850eea23SThomas Richter    "MetricExpr": "((L1D_L2D_SOURCED_WRITES + L1I_L2I_SOURCED_WRITES) / (L1I_DIR_WRITES + L1D_DIR_WRITES)) * 100"
26850eea23SThomas Richter  },
27850eea23SThomas Richter  {
28850eea23SThomas Richter    "BriefDescription": "Percentage sourced from Level 3 on same chip cache",
29850eea23SThomas Richter    "MetricName": "l3p",
30850eea23SThomas Richter    "MetricExpr": "((L1D_ONCHIP_L3_SOURCED_WRITES + L1D_ONCHIP_L3_SOURCED_WRITES_IV + L1I_ONCHIP_L3_SOURCED_WRITES + L1I_ONCHIP_L3_SOURCED_WRITES_IV) / (L1I_DIR_WRITES + L1D_DIR_WRITES)) * 100"
31850eea23SThomas Richter  },
32850eea23SThomas Richter  {
33850eea23SThomas Richter    "BriefDescription": "Percentage sourced from Level 4 Local cache on same book",
34850eea23SThomas Richter    "MetricName": "l4lp",
35850eea23SThomas Richter    "MetricExpr": "((L1D_ONNODE_L4_SOURCED_WRITES + L1D_ONNODE_L3_SOURCED_WRITES_IV + L1D_ONNODE_L3_SOURCED_WRITES + L1I_ONNODE_L4_SOURCED_WRITES + L1I_ONNODE_L3_SOURCED_WRITES_IV + L1I_ONNODE_L3_SOURCED_WRITES) / (L1I_DIR_WRITES + L1D_DIR_WRITES)) * 100"
36850eea23SThomas Richter  },
37850eea23SThomas Richter  {
38850eea23SThomas Richter    "BriefDescription": "Percentage sourced from Level 4 Remote cache on different book",
39850eea23SThomas Richter    "MetricName": "l4rp",
40850eea23SThomas Richter    "MetricExpr": "((L1D_ONDRAWER_L4_SOURCED_WRITES + L1D_ONDRAWER_L3_SOURCED_WRITES_IV + L1D_ONDRAWER_L3_SOURCED_WRITES + L1D_OFFDRAWER_SCOL_L4_SOURCED_WRITES + L1D_OFFDRAWER_SCOL_L3_SOURCED_WRITES_IV + L1D_OFFDRAWER_SCOL_L3_SOURCED_WRITES + L1D_OFFDRAWER_FCOL_L4_SOURCED_WRITES + L1D_OFFDRAWER_FCOL_L3_SOURCED_WRITES_IV + L1D_OFFDRAWER_FCOL_L3_SOURCED_WRITES + L1I_ONDRAWER_L4_SOURCED_WRITES + L1I_ONDRAWER_L3_SOURCED_WRITES_IV + L1I_ONDRAWER_L3_SOURCED_WRITES + L1I_OFFDRAWER_SCOL_L4_SOURCED_WRITES + L1I_OFFDRAWER_SCOL_L3_SOURCED_WRITES_IV + L1I_OFFDRAWER_SCOL_L3_SOURCED_WRITES + L1I_OFFDRAWER_FCOL_L4_SOURCED_WRITES + L1I_OFFDRAWER_FCOL_L3_SOURCED_WRITES_IV + L1I_OFFDRAWER_FCOL_L3_SOURCED_WRITES) / (L1I_DIR_WRITES + L1D_DIR_WRITES)) * 100"
41850eea23SThomas Richter  },
42850eea23SThomas Richter  {
43850eea23SThomas Richter    "BriefDescription": "Percentage sourced from memory",
44850eea23SThomas Richter    "MetricName": "memp",
45850eea23SThomas Richter    "MetricExpr": "((L1D_ONNODE_MEM_SOURCED_WRITES + L1D_ONDRAWER_MEM_SOURCED_WRITES + L1D_OFFDRAWER_MEM_SOURCED_WRITES + L1D_ONCHIP_MEM_SOURCED_WRITES + L1I_ONNODE_MEM_SOURCED_WRITES + L1I_ONDRAWER_MEM_SOURCED_WRITES + L1I_OFFDRAWER_MEM_SOURCED_WRITES + L1I_ONCHIP_MEM_SOURCED_WRITES) / (L1I_DIR_WRITES + L1D_DIR_WRITES)) * 100"
46*4c290d4fSThomas Richter  },
47*4c290d4fSThomas Richter  {
48*4c290d4fSThomas Richter    "BriefDescription": "Cycles per Instructions from Finite cache/memory",
49*4c290d4fSThomas Richter    "MetricName": "finite_cpi",
50*4c290d4fSThomas Richter    "MetricExpr": "L1C_TLB1_MISSES / INSTRUCTIONS"
51*4c290d4fSThomas Richter  },
52*4c290d4fSThomas Richter  {
53*4c290d4fSThomas Richter    "BriefDescription": "Estimated Instruction Complexity CPI infinite Level 1",
54*4c290d4fSThomas Richter    "MetricName": "est_cpi",
55*4c290d4fSThomas Richter    "MetricExpr": "(CPU_CYCLES / INSTRUCTIONS) - (L1C_TLB1_MISSES / INSTRUCTIONS)"
56*4c290d4fSThomas Richter  },
57*4c290d4fSThomas Richter  {
58*4c290d4fSThomas Richter    "BriefDescription": "Estimated Sourcing Cycles per Level 1 Miss",
59*4c290d4fSThomas Richter    "MetricName": "scpl1m",
60*4c290d4fSThomas Richter    "MetricExpr": "L1C_TLB1_MISSES / (L1I_DIR_WRITES + L1D_DIR_WRITES)"
61*4c290d4fSThomas Richter  },
62*4c290d4fSThomas Richter  {
63*4c290d4fSThomas Richter    "BriefDescription": "Estimated TLB CPU percentage of Total CPU",
64*4c290d4fSThomas Richter    "MetricName": "tlb_percent",
65*4c290d4fSThomas Richter    "MetricExpr": "((DTLB1_MISSES + ITLB1_MISSES) / CPU_CYCLES) * (L1C_TLB1_MISSES / (L1I_PENALTY_CYCLES + L1D_PENALTY_CYCLES)) * 100"
66*4c290d4fSThomas Richter  },
67*4c290d4fSThomas Richter  {
68*4c290d4fSThomas Richter    "BriefDescription": "Estimated Cycles per TLB Miss",
69*4c290d4fSThomas Richter    "MetricName": "tlb_miss",
70*4c290d4fSThomas Richter    "MetricExpr": "((DTLB1_MISSES + ITLB1_MISSES) / (DTLB1_WRITES + ITLB1_WRITES)) * (L1C_TLB1_MISSES / (L1I_PENALTY_CYCLES + L1D_PENALTY_CYCLES))"
71*4c290d4fSThomas Richter  },
72*4c290d4fSThomas Richter  {
73*4c290d4fSThomas Richter    "BriefDescription": "Page Table Entry misses",
74*4c290d4fSThomas Richter    "MetricName": "pte_miss",
75*4c290d4fSThomas Richter    "MetricExpr": "(TLB2_PTE_WRITES / (DTLB1_WRITES + ITLB1_WRITES)) * 100"
7683eb383eSThomas Richter  }
7783eb383eSThomas Richter]
78