tools/perf/pmu-events/arch/powerpc/power8/metrics.json
Source file repositories/reference/linux-study-clean/tools/perf/pmu-events/arch/powerpc/power8/metrics.json
File Facts
- System
- Linux kernel
- Corpus path
tools/perf/pmu-events/arch/powerpc/power8/metrics.json- Extension
.json- Size
- 101251 bytes
- Lines
- 2246
- Domain
- Support Tooling And Documentation
- Bucket
- tools
- Inferred role
- Support Tooling And Documentation: configuration, schema, or hardware description
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
[
{
"BriefDescription": "% of finished branches that were treated as BC+8",
"MetricExpr": "PM_BR_BC_8_CONV / PM_BRU_FIN * 100",
"MetricGroup": "branch_prediction",
"MetricName": "bc_8_branch_ratio_percent"
},
{
"BriefDescription": "% of finished branches that were pairable but not treated as BC+8",
"MetricExpr": "PM_BR_BC_8 / PM_BRU_FIN * 100",
"MetricGroup": "branch_prediction",
"MetricName": "bc_8_not_converted_branch_ratio_percent"
},
{
"BriefDescription": "Percent of mispredicted branches out of all predicted (correctly and incorrectly) branches that completed",
"MetricExpr": "PM_BR_MPRED_CMPL / (PM_BR_PRED_BR0 + PM_BR_PRED_BR1) * 100",
"MetricGroup": "branch_prediction",
"MetricName": "br_misprediction_percent"
},
{
"BriefDescription": "% of Branch miss predictions per instruction",
"MetricExpr": "PM_BR_MPRED_CMPL / PM_RUN_INST_CMPL * 100",
"MetricGroup": "branch_prediction",
"MetricName": "branch_mispredict_rate_percent"
},
{
"BriefDescription": "Count cache branch misprediction per instruction",
"MetricExpr": "PM_BR_MPRED_CCACHE / PM_RUN_INST_CMPL * 100",
"MetricGroup": "branch_prediction",
"MetricName": "ccache_mispredict_rate_percent"
},
{
"BriefDescription": "Percent of count catch mispredictions out of all completed branches that required count cache predictionn",
"MetricExpr": "PM_BR_MPRED_CCACHE / (PM_BR_PRED_CCACHE_BR0 + PM_BR_PRED_CCACHE_BR1) * 100",
"MetricGroup": "branch_prediction",
"MetricName": "ccache_misprediction_percent"
},
{
"BriefDescription": "CR MisPredictions per Instruction",
"MetricExpr": "PM_BR_MPRED_CR / PM_RUN_INST_CMPL * 100",
"MetricGroup": "branch_prediction",
"MetricName": "cr_mispredict_rate_percent"
},
{
"BriefDescription": "Link stack branch misprediction",
"MetricExpr": "(PM_BR_MPRED_TA - PM_BR_MPRED_CCACHE) / PM_RUN_INST_CMPL * 100",
"MetricGroup": "branch_prediction",
"MetricName": "lstack_mispredict_rate_percent"
},
{
"BriefDescription": "Percent of link stack mispredictions out of all completed branches that required link stack prediction",
"MetricExpr": "(PM_BR_MPRED_TA - PM_BR_MPRED_CCACHE) / (PM_BR_PRED_LSTACK_BR0 + PM_BR_PRED_LSTACK_BR1) * 100",
"MetricGroup": "branch_prediction",
"MetricName": "lstack_misprediction_percent"
},
{
"BriefDescription": "TA MisPredictions per Instruction",
"MetricExpr": "PM_BR_MPRED_TA / PM_RUN_INST_CMPL * 100",
"MetricGroup": "branch_prediction",
"MetricName": "ta_mispredict_rate_percent"
},
{
"BriefDescription": "Percent of target address mispredictions out of all completed branches that required address prediction",
"MetricExpr": "PM_BR_MPRED_TA / (PM_BR_PRED_CCACHE_BR0 + PM_BR_PRED_CCACHE_BR1 + PM_BR_PRED_LSTACK_BR0 + PM_BR_PRED_LSTACK_BR1) * 100",
"MetricGroup": "branch_prediction",
"MetricName": "ta_misprediction_percent"
},
{
"BriefDescription": "Percent of branches completed that were taken",
"MetricExpr": "PM_BR_TAKEN_CMPL * 100 / PM_BR_CMPL",
Annotation
- Atlas domain: Support Tooling And Documentation / tools.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.