/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/ |
H A 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/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/ |
H A 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 …]
|
H A 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/tools/perf/pmu-events/arch/x86/silvermont/ |
H A D | pipeline.json | 3 "BriefDescription": "Counts the number of branch instructions retired...", 8 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 12 "BriefDescription": "Counts the number of taken branch instructions retired", 17 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 22 "BriefDescription": "Counts the number of near CALL branch instructions retired", 27 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 32 "BriefDescription": "Counts the number of far branch instructions retired", 37 …branch instructions retired. Branch prediction predicts the branch target and enables the process… 42 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired", 47 …branch instructions retired. Branch prediction predicts the branch target and enables the process… [all …]
|
/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/ |
H A 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/tools/perf/pmu-events/arch/x86/amdzen4/ |
H A 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/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-insn-decoder.c | 29 enum intel_pt_insn_branch branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder() 37 intel_pt_insn->branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder() 50 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 56 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 60 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 73 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 78 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 82 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder() 90 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder() 95 /* jmpabs causes a TIP packet like an indirect branch */ in intel_pt_insn_decoder() 32 enum intel_pt_insn_branch branch = INTEL_PT_BR_NO_BRANCH; intel_pt_insn_decoder() local [all...] |
/linux/Documentation/admin-guide/hw-vuln/ |
H A 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/tools/perf/pmu-events/arch/x86/amdzen3/ |
H A 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/tools/perf/pmu-events/arch/x86/amdzen2/ |
H A 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/Documentation/staging/ |
H A 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/tools/perf/pmu-events/arch/x86/amdzen1/ |
H A 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/tools/perf/tests/shell/ |
H A 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 stac [all...] |
/linux/tools/perf/pmu-events/arch/arm64/ampere/ampereone/ |
H A 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/tools/perf/pmu-events/arch/x86/goldmont/ |
H A D | pipeline.json | 3 "BriefDescription": "Retired branch instructions (Precise event capable)", 8 …"PublicDescription": "Counts branch instructions retired for all branch types. This is an archite… 12 "BriefDescription": "Retired taken branch instructions (Precise event capable)", 17 "PublicDescription": "Counts the number of taken branch instructions retired.", 27 "PublicDescription": "Counts near CALL branch instructions retired.", 32 "BriefDescription": "Retired far branch instructions (Precise event capable)", 37 …"PublicDescription": "Counts far branch instructions retired. This includes far jump, far call an… 47 "PublicDescription": "Counts near indirect CALL branch instructions retired.", 52 "BriefDescription": "Retired conditional branch instructions (Precise event capable)", 57 … on Conditional Code/Jump if Condition is Met) branch instructions retired, including both when th… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/goldmontplus/ |
H A D | pipeline.json | 3 "BriefDescription": "Retired branch instructions (Precise event capable)", 8 …"PublicDescription": "Counts branch instructions retired for all branch types. This is an archite… 12 "BriefDescription": "Retired taken branch instructions (Precise event capable)", 17 "PublicDescription": "Counts the number of taken branch instructions retired.", 27 "PublicDescription": "Counts near CALL branch instructions retired.", 32 "BriefDescription": "Retired far branch instructions (Precise event capable)", 37 …"PublicDescription": "Counts far branch instructions retired. This includes far jump, far call an… 47 "PublicDescription": "Counts near indirect CALL branch instructions retired.", 52 "BriefDescription": "Retired conditional branch instructions (Precise event capable)", 57 … on Conditional Code/Jump if Condition is Met) branch instructions retired, including both when th… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/elkhartlake/ |
H A D | pipeline.json | 3 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 8 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 12 "BriefDescription": "Counts the number of near CALL branch instructions retired.", 21 …"BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far … 30 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.", 39 …"BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructio… 48 …"BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instruct… 57 "BriefDescription": "Counts the number of near relative CALL branch instructions retired.", 66 "BriefDescription": "Counts the number of near RET branch instructions retired.", 75 …"BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | pipeline.json | 3 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 8 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 12 "BriefDescription": "Counts the number of near CALL branch instructions retired.", 21 …"BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far … 30 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.", 39 …"BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructio… 48 …"BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instruct… 57 "BriefDescription": "Counts the number of near relative CALL branch instructions retired.", 66 "BriefDescription": "Counts the number of near RET branch instructions retired.", 75 …"BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions… [all …]
|
/linux/include/linux/ |
H A 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. 433 * Combine the right initial value (type) with the right branch order [all …]
|
/linux/drivers/clk/nxp/ |
H A 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/tools/perf/pmu-events/arch/x86/knightslanding/ |
H A D | pipeline.json | 3 "BriefDescription": "Counts the number of branch instructions retired (Precise Event)", 11 … "BriefDescription": "Counts the number of near CALL branch instructions retired. (Precise Event)", 20 "BriefDescription": "Counts the number of far branch instructions retired. (Precise Event)", 29 …"BriefDescription": "Counts the number of near indirect CALL branch instructions retired. (Precise… 38 …"BriefDescription": "Counts the number of branch instructions retired that were conditional jumps.… 47 …"BriefDescription": "Counts the number of branch instructions retired that were near indirect CALL… 56 …"BriefDescription": "Counts the number of near relative CALL branch instructions retired. (Precise… 65 … "BriefDescription": "Counts the number of near RET branch instructions retired. (Precise Event)", 74 …"BriefDescription": "Counts the number of branch instructions retired that were conditional jumps … 83 …"BriefDescription": "Counts the number of mispredicted branch instructions retired (Precise Event)… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/alderlaken/ |
H A D | pipeline.json | 3 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 8 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 22 …"BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructio… 31 …"BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions… 40 …"BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far … 49 …"BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instruct… 58 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.", 87 "BriefDescription": "Counts the number of near CALL branch instructions retired.", 96 "BriefDescription": "Counts the number of near RET branch instructions retired.", 105 "BriefDescription": "Counts the number of near taken branch instructions retired.", [all …]
|
/linux/Documentation/maintainer/ |
H A D | rebasing-and-merging.rst | 57 expose an unstable branch for others to test with or for automated 58 testing services. If you do expose a branch that may be unstable in 61 - Do not rebase a branch that contains history created by others. If you 100 which may contain multiple topic branches; each branch is usually developed 102 required before any given branch finds its way into an upstream repository. 132 history into your tree, you cannot rebase that branch, even if you 139 trees tend to be a red flag when it comes time to push a branch upstream. 143 It is natural to want to merge the master branch into a repository; this 150 branch. They will significantly increase your chances of encountering bugs 155 a well-managed branch. [all …]
|
/linux/tools/perf/pmu-events/arch/x86/meteorlake/ |
H A D | pipeline.json | 44 …"BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 48 … the processor is resteered due to a branch instruction and the branch instruction successfully re… 53 "BriefDescription": "All branch instructions retired.", 58 "PublicDescription": "Counts all branch instructions retired.", 63 …"BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructio… 72 "BriefDescription": "Conditional branch instructions retired.", 77 "PublicDescription": "Counts conditional branch instructions retired.", 83 "BriefDescription": "Not taken branch instructions retired.", 88 "PublicDescription": "Counts not taken branch instructions retired.", 94 …"BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
H A D | pipeline.json | 31 "BriefDescription": "All branch instructions retired.", 36 "PublicDescription": "Counts all branch instructions retired.", 40 "BriefDescription": "Conditional branch instructions retired.", 45 "PublicDescription": "Counts conditional branch instructions retired.", 50 "BriefDescription": "Not taken branch instructions retired.", 55 "PublicDescription": "Counts not taken branch instructions retired.", 60 "BriefDescription": "Taken conditional branch instructions retired.", 65 "PublicDescription": "Counts taken conditional branch instructions retired.", 70 "BriefDescription": "Far branch instructions retired.", 75 "PublicDescription": "Counts far branch instructions retired.", [all …]
|