Home
last modified time | relevance | path

Searched refs:insn_cnt (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/tools/build/feature/
Dtest-bpf.c28 attr.insn_cnt = 0; in main()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dexport-to-postgresql.py1028 …p, period, weight, transaction, data_src, branch_type, in_tx, call_path_id, insn_cnt, cyc_cnt, *x): argument
1030 …id, 8, to_sym_offset, 8, to_ip, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt)
1032 …t, 8, transaction, 8, data_src, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt)
1040 …e, branch_count, call_id, return_id, parent_call_path_id, flags, parent_id, insn_cnt, cyc_cnt, *x): argument
1042 … 8, call_id, 8, return_id, 8, parent_call_path_id, 4, flags, 8, parent_id, 8, insn_cnt, 8, cyc_cnt)
Dexported-sql-viewer.py527 …def __init__(self, glb, params, row, comm_id, thread_id, call_path_id, time, insn_cnt, cyc_cnt, br… argument
532 self.insn_cnt = insn_cnt
556 insn_cnt = int(query.value(5))
560 insn_cnt = 0
563 …), query.value(1), query.value(2), query.value(3), int(query.value(4)), insn_cnt, cyc_cnt, branch_…
571 … params, row, comm_id, thread_id, call_path_id, name, dso, count, time, insn_cnt, cyc_cnt, branch_… argument
572 …elf).__init__(glb, params, row, comm_id, thread_id, call_path_id, time, insn_cnt, cyc_cnt, branch_…
575 insn_pcnt = PercentToOneDP(insn_cnt, parent_item.insn_cnt)
578 ipc = CalcIPC(cyc_cnt, insn_cnt)
579 …dso, str(count), str(time), PercentToOneDP(time, parent_item.time), str(insn_cnt), insn_pcnt, str(…
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dobj_name.c34 attr.insn_cnt = 2; in test_obj_name()
/kernel/linux/linux-5.10/tools/perf/util/
Dintel-pt.c429 u64 insn_cnt; member
501 u64 offset, u64 insn_cnt, u64 byte_cnt, in intel_pt_cache_add() argument
515 e->insn_cnt = insn_cnt; in intel_pt_cache_add()
573 u64 insn_cnt = 0; in intel_pt_walk_next_insn() local
606 (!max_insn_cnt || e->insn_cnt <= max_insn_cnt)) { in intel_pt_walk_next_insn()
607 *insn_cnt_ptr = e->insn_cnt; in intel_pt_walk_next_insn()
640 insn_cnt += 1; in intel_pt_walk_next_insn()
645 if (max_insn_cnt && insn_cnt >= max_insn_cnt) in intel_pt_walk_next_insn()
663 *insn_cnt_ptr = insn_cnt; in intel_pt_walk_next_insn()
681 intel_pt_cache_add(al.map->dso, machine, start_offset, insn_cnt, in intel_pt_walk_next_insn()
[all …]
Devent.h132 u64 insn_cnt; member
Dthread-stack.c1145 ts->insn_count += sample->insn_cnt; in thread_stack__process()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_verifier_log.c54 attr.insn_cnt = (__u32)(sizeof(code_sample) / sizeof(struct bpf_insn)); in load()
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c1457 int insn_cnt = env->prog->len; in add_subprog() local
1460 if (off >= insn_cnt || off < 0) { in add_subprog()
1482 int insn_cnt = env->prog->len; in check_subprogs() local
1490 for (i = 0; i < insn_cnt; i++) { in check_subprogs()
1508 subprog[env->subprog_cnt].start = insn_cnt; in check_subprogs()
1517 for (i = 0; i < insn_cnt; i++) { in check_subprogs()
8592 int insn_cnt = env->prog->len; in check_cfg() local
8597 insn_state = env->cfg.insn_state = kvcalloc(insn_cnt, sizeof(int), GFP_KERNEL); in check_cfg()
8601 insn_stack = env->cfg.insn_stack = kvcalloc(insn_cnt, sizeof(int), GFP_KERNEL); in check_cfg()
8628 if (t + 1 < insn_cnt) in check_cfg()
[all …]
Dcore.c382 u32 i, insn_cnt = prog->len + (probe_pass ? end_new - end_old : 0); in bpf_adj_branches() local
386 for (i = 0; i < insn_cnt; i++, insn++) { in bpf_adj_branches()
1140 int insn_delta, insn_cnt; in bpf_jit_blind_constants() local
1151 insn_cnt = clone->len; in bpf_jit_blind_constants()
1154 for (i = 0; i < insn_cnt; i++, insn++) { in bpf_jit_blind_constants()
1183 insn_cnt += insn_delta; in bpf_jit_blind_constants()
Dsyscall.c2149 if (attr->insn_cnt == 0 || in bpf_prog_load()
2150 attr->insn_cnt > (bpf_capable() ? BPF_COMPLEXITY_LIMIT_INSNS : BPF_MAXINSNS)) in bpf_prog_load()
2169 prog = bpf_prog_alloc(bpf_prog_size(attr->insn_cnt), GFP_USER); in bpf_prog_load()
2197 prog->len = attr->insn_cnt; in bpf_prog_load()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dreuseport_bpf_numa.c89 attr.insn_cnt = sizeof(prog) / sizeof(prog[0]); in attach_bpf()
Dreuseport_bpf.c114 attr.insn_cnt = ARRAY_SIZE(prog); in attach_ebpf()
357 eprog.insn_cnt = ARRAY_SIZE(ecode); in test_filter_no_reuseport()
Dpsock_fanout.c152 attr.insn_cnt = sizeof(prog) / sizeof(prog[0]); in sock_fanout_set_ebpf()
/kernel/linux/linux-5.10/arch/x86/net/
Dbpf_jit_comp.c767 static void detect_reg_usage(struct bpf_insn *insn, int insn_cnt, in detect_reg_usage() argument
772 for (i = 1; i <= insn_cnt; i++, insn++) { in detect_reg_usage()
792 int insn_cnt = bpf_prog->len; in do_jit() local
800 detect_reg_usage(insn, insn_cnt, callee_regs_used, in do_jit()
812 for (i = 1; i <= insn_cnt; i++, insn++) { in do_jit()
Dbpf_jit_comp32.c1482 int insn_cnt = bpf_prog->len; in do_jit() local
1491 for (i = 0; i < insn_cnt; i++, insn++) { in do_jit()
/kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c1009 uint64_t max_insn_cnt, insn_cnt = 0; in intel_pt_walk_insn() local
1017 err = decoder->walk_insn(intel_pt_insn, &insn_cnt, &decoder->ip, ip, in intel_pt_walk_insn()
1020 decoder->tot_insn_cnt += insn_cnt; in intel_pt_walk_insn()
1021 decoder->timestamp_insn_cnt += insn_cnt; in intel_pt_walk_insn()
1022 decoder->sample_insn_cnt += insn_cnt; in intel_pt_walk_insn()
1023 decoder->period_insn_cnt += insn_cnt; in intel_pt_walk_insn()
1040 if (max_insn_cnt && insn_cnt >= max_insn_cnt) in intel_pt_walk_insn()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dinsn.c210 int insn_cnt; member
221 for (i = 0; ret == 0 && i < pp->insn_cnt; i++) in aarch64_insn_patch_text_cb()
240 .insn_cnt = cnt, in aarch64_insn_patch_text()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf.c246 attr.insn_cnt = (__u32)load_attr->insns_cnt; in bpf_load_program_xattr()
357 attr.insn_cnt = (__u32)insns_cnt; in bpf_verify_program()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbpf.h212 __u32 insn_cnt; member
/kernel/linux/linux-5.10/Documentation/bpf/
Dbtf.rst539 __u32 insn_cnt;
553 __u32 insn_off; /* [0, insn_cnt - 1] */
557 __u32 insn_off; /* [0, insn_cnt - 1] */
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h536 __u32 insn_cnt; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h536 __u32 insn_cnt; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h322 __u32 insn_cnt; member
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-script.c1421 if (!PRINT_FIELD(IPC) || !sample->cyc_cnt || !sample->insn_cnt) in perf_sample__fprintf_ipc()
1424 ipc = (sample->insn_cnt * 100) / sample->cyc_cnt; in perf_sample__fprintf_ipc()
1427 ipc / 100, ipc % 100, sample->insn_cnt, sample->cyc_cnt); in perf_sample__fprintf_ipc()

12