/linux-6.8/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/ |
D | branch.json | 18 …ional branch executed. This event counts when any branch that the conditional predictor can predic… 21 …ional branch executed. This event counts when any branch that the conditional predictor can predic… 24 …branch mispredicted. This event counts when any indirect branch that the Branch Target Address Cac… 27 …branch mispredicted. This event counts when any indirect branch that the Branch Target Address Cac… 30 …branch mispredicted due to address miscompare. This event counts when any indirect branch that the… 33 …branch mispredicted due to address miscompare. This event counts when any indirect branch that the… 36 …branch mispredicted. This event counts when any branch that the conditional predictor can predict … 39 …branch mispredicted. This event counts when any branch that the conditional predictor can predict … 42 …branch with predicted address executed. This event counts when any indirect branch that the BTAC c… 45 …branch with predicted address executed. This event counts when any indirect branch that the BTAC c… [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/ |
D | branch.json | 18 "PublicDescription": "Instruction architecturally executed, branch not taken", 21 "BriefDescription": "Instruction architecturally executed, branch not taken" 24 "PublicDescription": "Instruction architecturally executed, immediate branch taken", 27 "BriefDescription": "Instruction architecturally executed, immediate branch taken" 30 …"PublicDescription": "Instruction architecturally executed, indirect branch excluding return retir… 33 …"BriefDescription": "Instruction architecturally executed, indirect branch excluding return retire… 36 "PublicDescription": "Instruction architecturally executed, predicted immediate branch", 39 "BriefDescription": "Instruction architecturally executed, predicted immediate branch" 42 "PublicDescription": "Instruction architecturally executed, mispredicted immediate branch", 45 "BriefDescription": "Instruction architecturally executed, mispredicted immediate branch" [all …]
|
D | core-imp-def.json | 15 "PublicDescription": "Predictable branch speculatively executed that hit any level of BTB", 18 "BriefDescription": "Predictable branch speculatively executed that hit any level of BTB" 21 …"PublicDescription": "Predictable conditional branch speculatively executed that hit any level of … 24 …"BriefDescription": "Predictable conditional branch speculatively executed that hit any level of B… 27 …"PublicDescription": "Predictable taken branch speculatively executed that hit any level of BTB th… 30 …"BriefDescription": "Predictable taken branch speculatively executed that hit any level of BTB tha… 33 …"PublicDescription": "Predictable taken branch speculatively executed that hit any level of BTB th… 36 …"BriefDescription": "Predictable taken branch speculatively executed that hit any level of BTB tha… 39 …"PublicDescription": "Predictable unconditional branch speculatively executed that did not hit any… 42 …"BriefDescription": "Predictable unconditional branch speculatively executed that did not hit any … [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/silvermont/ |
D | pipeline.json | 3 "BriefDescription": "Counts the number of branch instructions retired...", 7 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 11 "BriefDescription": "Counts the number of taken branch instructions retired", 15 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 20 "BriefDescription": "Counts the number of near CALL branch instructions retired", 24 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 29 "BriefDescription": "Counts the number of far branch instructions retired", 33 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 38 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired", 42 …branch instructions retired. Branch prediction predicts the branch target and enables the process… [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/ |
D | branch.json | 18 …l branch executed.This event counts when any branch which can be predicted by the conditional pred… 21 …l branch executed.This event counts when any branch which can be predicted by the conditional pred… 24 …branch mis-predicted.This event counts when any indirect branch which can be predicted by the BTAC… 27 …branch mis-predicted.This event counts when any indirect branch which can be predicted by the BTAC… 30 …branch mis-predicted due to address mis-compare.This event counts when any indirect branch which c… 33 …branch mis-predicted due to address mis-compare.This event counts when any indirect branch which c… 36 …branch mis-predicted.This event counts when any branch which can be predicted by the conditional p… 39 …branch mis-predicted.This event counts when any branch which can be predicted by the conditional p… 42 …branch with predicted address executed.This event counts when any indirect branch which can be pre… 45 …branch with predicted address executed.This event counts when any indirect branch which can be pre… [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen4/ |
D | branch.json | 5 "BriefDescription": "L2 branch prediction overrides existing prediction (speculative)." 10 …"BriefDescription": "Dynamic indirect predictions (branch used the indirect predictor to make a pr… 15 …"BriefDescription": "Instruction decoder corrects the predicted target and resteers the branch pre… 20 …"BriefDescription": "Retired branch instructions (all types of architectural control flow changes,… 25 "BriefDescription": "Retired branch instructions mispredicted." 30 …"BriefDescription": "Retired taken branch instructions (all types of architectural control flow ch… 35 "BriefDescription": "Retired taken branch instructions mispredicted." 40 …SRET, plus exceptions and interrupts). Far control transfers are not subject to branch prediction." 50 …cted. Each misprediction incurs the same penalty as a mispredicted conditional branch instruction." 55 …indirect branch instructions mispredicted (only EX mispredicts). Each misprediction incurs the sam… [all …]
|
/linux-6.8/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-insn-decoder.c | 32 enum intel_pt_insn_branch branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder() local 40 intel_pt_insn->branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder() 53 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 59 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 63 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 76 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 81 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 85 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder() 93 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder() 100 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() [all …]
|
/linux-6.8/Documentation/admin-guide/hw-vuln/ |
D | spectre.rst | 6 Spectre is a class of side channel attacks that exploit branch prediction 18 use branch prediction and speculative execution. 46 CVE-2017-5715 Branch target injection Spectre variant 2 55 buffers, and branch predictors. Malicious software may be able to 70 of speculative execution that bypasses conditional branch instructions 89 Spectre variant 2 (Branch Target Injection) 92 The branch target injection attack takes advantage of speculative 94 branch predictors inside the processor used to guess the target of 103 branches in the victim to gadget code by poisoning the branch target 104 buffer of a CPU used for predicting indirect branch addresses. Such [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen3/ |
D | core.json | 16 "BriefDescription": "Retired Branch Instructions.", 17 …"PublicDescription": "The number of branch instructions retired. This includes all types of archit… 22 "BriefDescription": "Retired Branch Instructions Mispredicted.", 23 "PublicDescription": "The number of retired branch instructions, that were mispredicted." 28 "BriefDescription": "Retired Taken Branch Instructions.", 34 "BriefDescription": "Retired Taken Branch Instructions Mispredicted.", 35 "PublicDescription": "The number of retired taken branch instructions that were mispredicted." 41 …YSRET, plus exceptions and interrupts. Far control transfers are not subject to branch prediction." 46 "BriefDescription": "Retired Branch Resyncs.", 47 …ng other things. Each occurrence reflects a restart penalty similar to a branch mispredict. This i… [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen2/ |
D | core.json | 16 "BriefDescription": "Retired Branch Instructions.", 17 …"PublicDescription": "The number of branch instructions retired. This includes all types of archit… 22 "BriefDescription": "Retired Branch Instructions Mispredicted.", 23 …"PublicDescription": "The number of branch instructions retired, of any type, that were not correc… 28 "BriefDescription": "Retired Taken Branch Instructions.", 34 "BriefDescription": "Retired Taken Branch Instructions Mispredicted.", 35 "PublicDescription": "The number of retired taken branch instructions that were mispredicted." 41 …YSRET, plus exceptions and interrupts. Far control transfers are not subject to branch prediction." 46 "BriefDescription": "Retired Branch Resyncs.", 47 …ng other things. Each occurrence reflects a restart penalty similar to a branch mispredict. This i… [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/goldmont/ |
D | pipeline.json | 3 "BriefDescription": "Retired branch instructions (Precise event capable)", 7 …"PublicDescription": "Counts branch instructions retired for all branch types. This is an archite… 11 "BriefDescription": "Retired taken branch instructions (Precise event capable)", 15 "PublicDescription": "Counts the number of taken branch instructions retired.", 24 "PublicDescription": "Counts near CALL branch instructions retired.", 29 "BriefDescription": "Retired far branch instructions (Precise event capable)", 33 …"PublicDescription": "Counts far branch instructions retired. This includes far jump, far call an… 42 "PublicDescription": "Counts near indirect CALL branch instructions retired.", 47 "BriefDescription": "Retired conditional branch instructions (Precise event capable)", 51 … on Conditional Code/Jump if Condition is Met) branch instructions retired, including both when th… [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen1/ |
D | core.json | 16 "BriefDescription": "Retired Branch Instructions.", 17 …"PublicDescription": "The number of branch instructions retired. This includes all types of archit… 22 "BriefDescription": "Retired Branch Instructions Mispredicted.", 23 …"PublicDescription": "The number of branch instructions retired, of any type, that were not correc… 28 "BriefDescription": "Retired Taken Branch Instructions.", 34 "BriefDescription": "Retired Taken Branch Instructions Mispredicted.", 35 "PublicDescription": "The number of retired taken branch instructions that were mispredicted." 41 …YSRET, plus exceptions and interrupts. Far control transfers are not subject to branch prediction." 46 "BriefDescription": "Retired Branch Resyncs.", 47 …ng other things. Each occurrence reflects a restart penalty similar to a branch mispredict. This i… [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/grandridge/ |
D | pipeline.json | 3 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 7 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 11 …Description": "Counts the total number of mispredicted branch instructions retired for all branch … 15 …branch instructions retired. All branch type instructions are accounted for. Prediction of the b…
|
/linux-6.8/tools/perf/tests/shell/ |
D | test_brstack.sh | 2 # Check branch stack sampling 11 # skip the test if the hardware doesn't support branch stack sampling 13 if ! perf record -o- --no-buildid --branch-filter any,save_type,u -- true > /dev/null 2>&1 ; then 30 echo "Testing user branch stack sampling" 32 perf record -o $TMPDIR/perf.data --branch-filter any,save_type,u -- ${TESTPROG} > /dev/null 2>&1 35 # example of branch entries: 49 # some branch types are still not being tested: 53 # first argument <arg0> is the argument passed to "--branch-stack <arg0>,save_type,u" 54 # second argument are the expected branch types for the given filter 59 echo "Testing branch stack filtering permutation ($test_filter_filter,$test_filter_expect)" [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/sierraforest/ |
D | pipeline.json | 3 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 7 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 11 …Description": "Counts the total number of mispredicted branch instructions retired for all branch … 15 …branch instructions retired. All branch type instructions are accounted for. Prediction of the b…
|
/linux-6.8/tools/perf/pmu-events/arch/x86/snowridgex/ |
D | pipeline.json | 3 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 7 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 11 "BriefDescription": "Counts the number of near CALL branch instructions retired.", 19 …"BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far … 27 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.", 35 …"BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructio… 43 …"BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instruct… 51 "BriefDescription": "Counts the number of near relative CALL branch instructions retired.", 59 "BriefDescription": "Counts the number of near RET branch instructions retired.", 67 …"BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions… [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/elkhartlake/ |
D | pipeline.json | 3 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 7 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 11 "BriefDescription": "Counts the number of near CALL branch instructions retired.", 19 …"BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far … 27 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.", 35 …"BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructio… 43 …"BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instruct… 51 "BriefDescription": "Counts the number of near relative CALL branch instructions retired.", 59 "BriefDescription": "Counts the number of near RET branch instructions retired.", 67 …"BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions… [all …]
|
/linux-6.8/Documentation/staging/ |
D | static-keys.rst | 48 The static_branch_unlikely() branch will be generated into the code with as little 56 Currently, tracepoints are implemented using a conditional branch. The 78 the branch site to change the branch direction. 80 For example, if we have a simple branch that is disabled by default:: 83 printk("I am the true branch\n"); 87 straight-line code path. When the branch is 'flipped', we will patch the 89 out-of-line true branch. Thus, changing branch direction is expensive but 90 branch selection is basically 'free'. That is the basic tradeoff of this 130 Branch(es) can be set true via:: 138 The branch(es) can then be switched via reference counts:: [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/goldmontplus/ |
D | pipeline.json | 3 "BriefDescription": "Retired branch instructions (Precise event capable)", 7 …"PublicDescription": "Counts branch instructions retired for all branch types. This is an archite… 11 "BriefDescription": "Retired taken branch instructions (Precise event capable)", 15 "PublicDescription": "Counts the number of taken branch instructions retired.", 24 "PublicDescription": "Counts near CALL branch instructions retired.", 29 "BriefDescription": "Retired far branch instructions (Precise event capable)", 33 …"PublicDescription": "Counts far branch instructions retired. This includes far jump, far call an… 42 "PublicDescription": "Counts near indirect CALL branch instructions retired.", 47 "BriefDescription": "Retired conditional branch instructions (Precise event capable)", 51 … on Conditional Code/Jump if Condition is Met) branch instructions retired, including both when th… [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/arm64/ampere/ampereone/ |
D | core-imp-def.json | 15 "PublicDescription": "Predictable branch speculatively executed that hit any level of BTB", 18 "BriefDescription": "Predictable branch speculatively executed that hit any level of BTB" 21 …"PublicDescription": "Predictable conditional branch speculatively executed that hit any level of … 24 …"BriefDescription": "Predictable conditional branch speculatively executed that hit any level of B… 27 …"PublicDescription": "Predictable taken branch speculatively executed that hit any level of BTB th… 30 …"BriefDescription": "Predictable taken branch speculatively executed that hit any level of BTB tha… 33 …"PublicDescription": "Predictable taken branch speculatively executed that hit any level of BTB th… 36 …"BriefDescription": "Predictable taken branch speculatively executed that hit any level of BTB tha… 39 …"PublicDescription": "Predictable unconditional branch speculatively executed that did not hit any… 42 …"BriefDescription": "Predictable unconditional branch speculatively executed that did not hit any … [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/alderlaken/ |
D | pipeline.json | 3 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 7 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 20 …"BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructio… 28 …"BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions… 36 …"BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far … 44 …"BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instruct… 52 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.", 78 "BriefDescription": "Counts the number of near CALL branch instructions retired.", 86 "BriefDescription": "Counts the number of near RET branch instructions retired.", 94 "BriefDescription": "Counts the number of near taken branch instructions retired.", [all …]
|
/linux-6.8/drivers/clk/nxp/ |
D | clk-lpc18xx-ccu.c | 19 /* Bit defines for CCU branch configuration register */ 25 /* CCU branch feature bits */ 151 * To safely disable a branch clock a squence of two separate in lpc18xx_ccu_gate_endisable() 181 * The branch clock registers are only accessible in lpc18xx_ccu_gate_is_enabled() 202 static void lpc18xx_ccu_register_branch_gate_div(struct lpc18xx_clk_branch *branch, in lpc18xx_ccu_register_branch_gate_div() argument 210 if (branch->flags & CCU_BRANCH_HAVE_DIV2) { in lpc18xx_ccu_register_branch_gate_div() 215 div->reg = branch->offset + reg_base; in lpc18xx_ccu_register_branch_gate_div() 224 branch->gate.reg = branch->offset + reg_base; in lpc18xx_ccu_register_branch_gate_div() 225 branch->gate.bit_idx = 0; in lpc18xx_ccu_register_branch_gate_div() 227 branch->clk = clk_register_composite(NULL, branch->name, &parent, 1, in lpc18xx_ccu_register_branch_gate_div() [all …]
|
/linux-6.8/include/linux/ |
D | jump_label.h | 33 * an "if (static_branch_unlikely(&key))" statement is an unconditional branch 38 * unconditional branch to the out-of-line true branch. Keys that are 42 * At runtime we can change the branch target by setting the key 44 * static_branch_disable(). If the direction of the branch is switched by 45 * these calls then we run-time modify the branch target via a 49 * to the out-of-line of true branch. 52 * the key or branch direction via static_branch_{inc,dec}. Thus, 56 * Since this relies on modifying code, the branch modifying functions 69 * simple conditional branch. 427 * Combine the right initial value (type) with the right branch order [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/bonnell/ |
D | pipeline.json | 10 "BriefDescription": "Branch instructions decoded", 17 "BriefDescription": "Retired branch instructions.", 23 "BriefDescription": "Retired branch instructions.", 30 "BriefDescription": "Retired mispredicted branch instructions (precise event).", 37 "BriefDescription": "Retired branch instructions that were mispredicted not-taken.", 44 "BriefDescription": "Retired branch instructions that were mispredicted taken.", 51 "BriefDescription": "Retired branch instructions that were predicted not-taken.", 58 "BriefDescription": "Retired branch instructions that were predicted taken.", 65 "BriefDescription": "Retired taken branch instructions.", 72 "BriefDescription": "All macro conditional branch instructions.", [all …]
|
/linux-6.8/tools/perf/pmu-events/arch/x86/meteorlake/ |
D | pipeline.json | 31 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 35 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 40 "BriefDescription": "All branch instructions retired.", 44 "PublicDescription": "Counts all branch instructions retired.", 49 "BriefDescription": "Conditional branch instructions retired.", 53 "PublicDescription": "Counts conditional branch instructions retired.", 59 "BriefDescription": "Not taken branch instructions retired.", 63 "PublicDescription": "Counts not taken branch instructions retired.", 69 "BriefDescription": "Taken conditional branch instructions retired.", 73 "PublicDescription": "Counts taken conditional branch instructions retired.", [all …]
|