/tools/lib/bpf/ |
D | libbpf_probes.c | 211 const size_t insn_cnt = ARRAY_SIZE(insns); in libbpf_probe_bpf_prog_type() local 217 ret = probe_prog_load(prog_type, insns, insn_cnt, NULL, 0); in libbpf_probe_bpf_prog_type() 410 const size_t insn_cnt = ARRAY_SIZE(insns); in libbpf_probe_bpf_helper() local 431 ret = probe_prog_load(prog_type, insns, insn_cnt, buf, sizeof(buf)); in libbpf_probe_bpf_helper()
|
D | bpf_gen_internal.h | 64 const char *license, struct bpf_insn *insns, size_t insn_cnt,
|
D | bpf.c | 113 size_t insn_cnt = ARRAY_SIZE(insns); in probe_memcg_account() local 121 attr.insn_cnt = insn_cnt; in probe_memcg_account() 232 const struct bpf_insn *insns, size_t insn_cnt, in bpf_prog_load() argument 269 if (insn_cnt > UINT_MAX) in bpf_prog_load() 273 attr.insn_cnt = (__u32)insn_cnt; in bpf_prog_load()
|
D | gen_loader.c | 936 const char *license, struct bpf_insn *insns, size_t insn_cnt, in bpf_gen__prog_load() argument 945 prog_type, insn_cnt, prog_idx); in bpf_gen__prog_load() 949 insns_off = add_data(gen, insns, insn_cnt * sizeof(struct bpf_insn)); in bpf_gen__prog_load() 956 attr.insn_cnt = (__u32)insn_cnt; in bpf_gen__prog_load() 1019 debug_ret(gen, "prog_load %s insn_cnt %d", attr.prog_name, attr.insn_cnt); in bpf_gen__prog_load()
|
D | skel_internal.h | 333 attr.insn_cnt = opts->insns_sz / sizeof(struct bpf_insn); in bpf_load_and_run()
|
D | bpf.h | 111 const struct bpf_insn *insns, size_t insn_cnt,
|
/tools/build/feature/ |
D | test-bpf.c | 34 attr.insn_cnt = 0; in main()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | verifier_log.c | 34 static size_t insn_cnt; variable 41 "GPL", insns, insn_cnt, opts); in load_prog() 75 insn_cnt = bpf_program__insn_cnt(skel->progs.good_prog); in verif_log_subtest() 105 "GPL", insns, insn_cnt, &opts); in verif_log_subtest() 137 "GPL", insns, insn_cnt, &opts); in verif_log_subtest()
|
D | obj_name.c | 34 attr.insn_cnt = 2; in test_obj_name()
|
/tools/perf/scripts/python/ |
D | export-to-postgresql.py | 1031 …eriod, weight, transaction, data_src, branch_type, in_tx, call_path_id, insn_cnt, cyc_cnt, flags, … argument 1033 … to_sym_offset, 8, to_ip, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt, 4, f… 1035 …transaction, 8, data_src, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt, 4, f… 1043 …e, branch_count, call_id, return_id, parent_call_path_id, flags, parent_id, insn_cnt, cyc_cnt, *x): argument 1045 … 8, call_id, 8, return_id, 8, parent_call_path_id, 4, flags, 8, parent_id, 8, insn_cnt, 8, cyc_cnt)
|
D | exported-sql-viewer.py | 528 …def __init__(self, glb, params, row, comm_id, thread_id, call_path_id, time, insn_cnt, cyc_cnt, br… argument 533 self.insn_cnt = insn_cnt 557 insn_cnt = int(query.value(5)) 561 insn_cnt = 0 564 …), query.value(1), query.value(2), query.value(3), int(query.value(4)), insn_cnt, cyc_cnt, branch_… 572 … params, row, comm_id, thread_id, call_path_id, name, dso, count, time, insn_cnt, cyc_cnt, branch_… argument 573 …elf).__init__(glb, params, row, comm_id, thread_id, call_path_id, time, insn_cnt, cyc_cnt, branch_… 576 insn_pcnt = PercentToOneDP(insn_cnt, parent_item.insn_cnt) 579 ipc = CalcIPC(cyc_cnt, insn_cnt) 580 …dso, str(count), str(time), PercentToOneDP(time, parent_item.time), str(insn_cnt), insn_pcnt, str(… [all …]
|
D | intel-pt-events.py | 271 insn_cnt = get_optional_zero(sample, "insn_cnt") 272 ipc_str = " IPC: %#.2f (%u/%u)" % (insn_cnt / cyc_cnt, insn_cnt, cyc_cnt)
|
/tools/perf/util/ |
D | sample.h | 91 u64 insn_cnt; member
|
D | intel-pt.c | 542 u64 insn_cnt; member 615 u64 offset, u64 insn_cnt, u64 byte_cnt, in intel_pt_cache_add() argument 629 e->insn_cnt = insn_cnt; in intel_pt_cache_add() 760 u64 insn_cnt = 0; in intel_pt_walk_next_insn() local 837 (!max_insn_cnt || e->insn_cnt <= max_insn_cnt)) { in intel_pt_walk_next_insn() 838 *insn_cnt_ptr = e->insn_cnt; in intel_pt_walk_next_insn() 880 insn_cnt += 1; in intel_pt_walk_next_insn() 895 if (max_insn_cnt && insn_cnt >= max_insn_cnt) in intel_pt_walk_next_insn() 914 *insn_cnt_ptr = insn_cnt; in intel_pt_walk_next_insn() 932 intel_pt_cache_add(map__dso(al.map), machine, start_offset, insn_cnt, in intel_pt_walk_next_insn() [all …]
|
/tools/perf/include/perf/ |
D | perf_dlfilter.h | 52 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member
|
/tools/testing/selftests/bpf/ |
D | test_sock.c | 391 int ret, insn_cnt; in load_sock_prog() local 393 insn_cnt = probe_prog_length(prog); in load_sock_prog() 400 ret = bpf_prog_load(BPF_PROG_TYPE_CGROUP_SOCK, NULL, "GPL", prog, insn_cnt, &opts); in load_sock_prog()
|
D | test_sysctl.c | 1439 int ret, insn_cnt; in load_sysctl_prog_insns() local 1441 insn_cnt = probe_prog_length(prog); in load_sysctl_prog_insns() 1467 ret = bpf_prog_load(BPF_PROG_TYPE_CGROUP_SYSCTL, NULL, "GPL", prog, insn_cnt, &opts); in load_sysctl_prog_insns()
|
/tools/testing/selftests/bpf/progs/ |
D | syscall.c | 85 .insn_cnt = sizeof(insns) / sizeof(insns[0]), in bpf_prog()
|
/tools/bpf/bpftool/ |
D | common.c | 105 size_t insn_cnt = ARRAY_SIZE(insns); in known_to_need_rlimit() local 112 attr.insn_cnt = insn_cnt; in known_to_need_rlimit()
|
/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 1119 uint64_t max_insn_cnt, insn_cnt = 0; in intel_pt_sample_fup_insn() local 1136 err = decoder->walk_insn(&intel_pt_insn, &insn_cnt, &decoder->ip, in intel_pt_sample_fup_insn() 1147 decoder->tot_insn_cnt += insn_cnt; in intel_pt_sample_fup_insn() 1148 decoder->timestamp_insn_cnt += insn_cnt; in intel_pt_sample_fup_insn() 1149 decoder->sample_insn_cnt += insn_cnt; in intel_pt_sample_fup_insn() 1150 decoder->period_insn_cnt += insn_cnt; in intel_pt_sample_fup_insn() 1161 uint64_t max_insn_cnt, insn_cnt = 0; in intel_pt_walk_insn() local 1169 err = decoder->walk_insn(intel_pt_insn, &insn_cnt, &decoder->ip, ip, in intel_pt_walk_insn() 1172 decoder->tot_insn_cnt += insn_cnt; in intel_pt_walk_insn() 1173 decoder->timestamp_insn_cnt += insn_cnt; in intel_pt_walk_insn() [all …]
|
/tools/testing/selftests/net/ |
D | reuseport_bpf_numa.c | 89 attr.insn_cnt = ARRAY_SIZE(prog); in attach_bpf()
|
D | reuseport_bpf.c | 112 attr.insn_cnt = ARRAY_SIZE(prog); in attach_ebpf() 355 eprog.insn_cnt = ARRAY_SIZE(ecode); in test_filter_no_reuseport()
|
D | psock_fanout.c | 166 attr.insn_cnt = ARRAY_SIZE(prog); in sock_fanout_set_ebpf()
|
/tools/perf/dlfilters/ |
D | dlfilter-test-api-v0.c | 51 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member
|
D | dlfilter-test-api-v2.c | 57 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member
|