/linux-master/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 1975 __le32 **branches) 1993 branches[i] = ctx->image + ctx->idx; 2046 __le32 **branches = NULL; local 2154 branches = kcalloc(fmod_ret->nr_links, sizeof(__le32 *), 2156 if (!branches) 2160 run_ctx_off, branches); 2176 /* update the branches saved in invoke_bpf_mod_ret with cbnz */ 2178 int offset = &ctx->image[ctx->idx] - branches[i]; 2179 *branches[i] = cpu_to_le32(A64_CBNZ(1, A64_R(10), offset)); 2220 kfree(branches); 1973 invoke_bpf_mod_ret(struct jit_ctx *ctx, struct bpf_tramp_links *tl, int args_off, int retval_off, int run_ctx_off, __le32 **branches) argument [all...] |
/linux-master/kernel/bpf/ |
H A D | verifier.c | 50 * All paths of conditional branches are analyzed until 'bpf_exit' insn. 61 * insn is less then 4K, but there are too many branches that change stack/regs. 62 * Number of 'branches to be analyzed' is limited to 1k 1442 dst_state->branches = src->branches; 1637 /* The head1->branches check decides between cases B and C in 1638 * comment for get_loop_entry(). If hdr1->branches == 0 then 1643 if (hdr1->branches && hdr1->dfs_depth <= cur1->dfs_depth) { 1652 u32 br = --st->branches; 1731 ++elem->st.parent->branches; [all...] |
/linux-master/include/linux/ |
H A D | bpf_verifier.h | 373 * 'branches' field is the number of branches left to explore: 380 * One is fallthrough branch with branches==1 and another 382 * branches==1. The parent of this state has branches==1. 405 * If is_state_visited() sees a state with branches > 0 it means 417 u32 branches; member in struct:bpf_verifier_state
|
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp.c | 2680 int run_ctx_off, u8 **branches, 2708 branches[i] = prog; 2788 u8 **branches = NULL; local 2948 branches = kcalloc(fmod_ret->nr_links, sizeof(u8 *), 2950 if (!branches) 2954 run_ctx_off, branches, image, rw_image)) { 2994 /* Update the branches saved in invoke_bpf_mod_ret with the 2998 emit_cond_near_jump(&branches[i], image + (prog - (u8 *)rw_image), 2999 image + (branches[i] - (u8 *)rw_image), X86_JNE); 3052 kfree(branches); 2678 invoke_bpf_mod_ret(const struct btf_func_model *m, u8 **pprog, struct bpf_tramp_links *tl, int stack_size, int run_ctx_off, u8 **branches, void *image, void *rw_image) argument [all...] |
/linux-master/arch/x86/events/amd/ |
H A D | core.c | 923 * and contain no branches to minimize contamination of LBR snapshot 1296 * taken branches and approximate the desired period 1344 static DEVICE_ATTR_RO(branches);
|
/linux-master/tools/perf/tests/shell/ |
H A D | stat+std_output.sh | 14 event_name=(cpu-clock task-clock context-switches cpu-migrations page-faults stalled-cycles-frontend stalled-cycles-backend cycles instructions branches branch-misses) 15 event_metric=("CPUs utilized" "CPUs utilized" "/sec" "/sec" "/sec" "frontend cycles idle" "backend cycles idle" "GHz" "insn per cycle" "/sec" "of all branches")
|
/linux-master/arch/x86/events/intel/ |
H A D | core.c | 2289 /* must not have branches... */ 2302 /* must not have branches... */ 5609 static DEVICE_ATTR_RO(branches); 5639 /* branches */
|
/linux-master/tools/perf/util/ |
H A D | cs-etm.c | 616 if (etm->synth_opts.branches || etm->synth_opts.last_branch || 1209 * determine how many branches to copy from ->entries. 1221 * two steps. First, copy the branches from the most recently inserted 1230 * If we wrapped around at least once, the branches from the beginning 1232 * are older valid branches: copy them over. The total number of 1233 * branches copied over will be equal to the number of branches asked by 1311 * The branches are recorded in a circular buffer in reverse 1329 * Increment bs->nr until reaching the number of last branches asked by 1671 if (etm->synth_opts.branches) { [all...] |
H A D | auxtrace.h | 76 * together with other events, such as branches) 77 * @branches: whether to synthesize 'branches' events 92 * @thread_stack: feed branches to the thread_stack 127 bool branches; member in struct:itrace_synth_opts 653 " b: synthesize branches events (branch misses for Arm SPE)\n" \ 654 " c: synthesize branches events (calls only)\n" \ 655 " r: synthesize branches events (returns only)\n" \
|
H A D | auxtrace.c | 1378 synth_opts->branches = true; 1531 synth_opts->branches = true; 1563 synth_opts->branches = true; 1567 synth_opts->branches = true;
|
H A D | parse-events.l | 171 lc_type (L1-dcache|l1-d|l1d|L1-data|L1-icache|l1-i|l1i|L1-instruction|LLC|L2|dTLB|d-tlb|Data-TLB|iTLB|i-tlb|Instruction-TLB|branch|branches|bpu|btb|bpc|node) 255 branch-instructions|branches { return hw_term(yyscanner, PERF_COUNT_HW_BRANCH_INSTRUCTIONS); } 308 branch-instructions|branches { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_INSTRUCTIONS); }
|
H A D | intel-pt.c | 2706 * and addr, so create 2 branches. 3764 if (pt->synth_opts.branches) { 3768 err = intel_pt_synth_event(session, "branches", &attr, id); 4216 pt->synth_opts.branches = false; 4436 * Measured at about 200 branches, but generously set to 1024.
|
H A D | intel-bts.c | 811 if (bts->synth_opts.branches) { 815 pr_debug("Synthesizing 'branches' event with id %" PRIu64 " sample type %#" PRIx64 "\n", 819 pr_err("%s: failed to synthesize 'branches' event type\n",
|
H A D | arm-spe.c | 1231 if (spe->synth_opts.branches) {
|
H A D | s390-cpumsf.c | 1078 ison = itops->inject || itops->instructions || itops->branches ||
|
/linux-master/drivers/media/i2c/ |
H A D | ccs-pll.c | 84 } branches[] = { local 92 for (i = 0, br = branches; i < ARRAY_SIZE(branches); i++, br++) {
|
/linux-master/arch/mips/math-emu/ |
H A D | cp1emu.c | 556 * Compact branches for R6 for the 593 * Compact branches for R6 for the 701 /* Need to check for R6 bc1nez and bc1eqz branches */ 1232 MIPS_FPU_EMU_INC_STATS(branches);
|
H A D | me-debugfs.c | 57 __this_cpu_write((fpuemustats).branches, 0); 213 FPU_STAT_CREATE(branches);
|
/linux-master/tools/perf/scripts/python/ |
H A D | export-to-sqlite.py | 47 # $ perf script -s ~/libexec/perf-core/scripts/python/export-to-sqlite.py pt_example branches calls 102 printerr("where: columns 'all' or 'branches'"); 118 if columns not in ("all", "branches"): 121 branches = (columns == "branches") variable 205 if branches: 589 if branches: 706 if branches:
|
H A D | export-to-postgresql.py | 59 # $ perf script -s ~/libexec/perf-core/scripts/python/export-to-postgresql.py pt_example branches calls 173 # Show branches made during a function call (e.g. where call_id is 29357 and return_id is 29370 and tid is 29670) 175 # SELECT * FROM samples_view WHERE id >= 29357 AND id <= 29370 AND tid = 29670 AND event LIKE 'branches%'; 281 printerr("where: columns 'all' or 'branches'"); 297 if columns not in ("all", "branches"): 300 branches = (columns == "branches") variable 381 if branches: 1032 if branches:
|
/linux-master/fs/ubifs/ |
H A D | misc.h | 203 return (struct ubifs_branch *)((void *)idx->branches + 215 return (void *)((struct ubifs_branch *)idx->branches)->key;
|
H A D | ubifs-media.h | 824 * @branches: LEB number / offset / length / key branches 830 __u8 branches[]; member in struct:ubifs_idx_node
|
/linux-master/arch/mips/include/asm/ |
H A D | fpu_emulator.h | 28 unsigned long branches; member in struct:mips_fpu_emulator_stats
|
/linux-master/arch/m68k/ifpsp060/src/ |
H A D | isp.S | 32 # effect, branches to one of the branch table entries located 2968 # The routine then branches to _real_cas(). This external routine #
|
H A D | ilsp.S | 32 # effect, branches to one of the branch table entries located here.
|