Searched refs:insn_cnt (Results 26 - 43 of 43) sorted by last modified time

12

/linux-master/tools/testing/selftests/bpf/progs/
H A Dsyscall.c122 .insn_cnt = sizeof(insns) / sizeof(insns[0]),
/linux-master/tools/perf/dlfilters/
H A Ddlfilter-test-api-v0.c51 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member in struct:perf_dlfilter_sample
H A Ddlfilter-test-api-v2.c57 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member in struct:perf_dlfilter_sample
/linux-master/tools/perf/include/perf/
H A Dperf_dlfilter.h52 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member in struct:perf_dlfilter_sample
/linux-master/tools/perf/util/
H A Dthread-stack.c1144 ts->insn_count += sample->insn_cnt;
/linux-master/tools/perf/scripts/python/
H A Dintel-pt-events.py271 insn_cnt = get_optional_zero(sample, "insn_cnt")
272 ipc_str = " IPC: %#.2f (%u/%u)" % (insn_cnt / cyc_cnt, insn_cnt, cyc_cnt)
H A Dexport-to-postgresql.py1031 def sample_table(sample_id, evsel_id, machine_id, thread_id, comm_id, dso_id, symbol_id, sym_offset, ip, time, cpu, to_dso_id, to_symbol_id, to_sym_offset, to_ip, period, weight, transaction, data_src, branch_type, in_tx, call_path_id, insn_cnt, cyc_cnt, flags, *x):
1033 value = struct.pack("!hiqiqiqiqiqiqiqiqiqiqiiiqiqiqiqiiiBiqiqiqii", 21, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, dso_id, 8, symbol_id, 8, sym_offset, 8, ip, 8, time, 4, cpu, 8, to_dso_id, 8, to_symbol_id, 8, to_sym_offset, 8, to_ip, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt, 4, flags)
1035 value = struct.pack("!hiqiqiqiqiqiqiqiqiqiqiiiqiqiqiqiqiqiqiqiiiBiqiqiqii", 25, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, dso_id, 8, symbol_id, 8, sym_offset, 8, ip, 8, time, 4, cpu, 8, to_dso_id, 8, to_symbol_id, 8, to_sym_offset, 8, to_ip, 8, period, 8, weight, 8, transaction, 8, data_src, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt, 4, flags)
1043 def call_return_table(cr_id, thread_id, comm_id, call_path_id, call_time, return_time, branch_count, call_id, return_id, parent_call_path_id, flags, parent_id, insn_cnt, cyc_cnt, *x):
1045 value = struct.pack(fmt, 14, 8, cr_id, 8, thread_id, 8, comm_id, 8, call_path_id, 8, call_time, 8, return_time, 8, branch_count, 8, call_id, 8, return_id, 8, parent_call_path_id, 4, flags, 8, parent_id, 8, insn_cnt, 8, cyc_cnt)
/linux-master/tools/lib/bpf/
H A Dgen_loader.c936 const char *license, struct bpf_insn *insns, size_t insn_cnt,
945 prog_type, insn_cnt, prog_idx);
949 insns_off = add_data(gen, insns, insn_cnt * sizeof(struct bpf_insn));
956 attr.insn_cnt = (__u32)insn_cnt;
1019 debug_ret(gen, "prog_load %s insn_cnt %d", attr.prog_name, attr.insn_cnt);
934 bpf_gen__prog_load(struct bpf_gen *gen, enum bpf_prog_type prog_type, const char *prog_name, const char *license, struct bpf_insn *insns, size_t insn_cnt, struct bpf_prog_load_opts *load_attr, int prog_idx) argument
H A Dbpf_gen_internal.h64 const char *license, struct bpf_insn *insns, size_t insn_cnt,
H A Dskel_internal.h333 attr.insn_cnt = opts->insns_sz / sizeof(struct bpf_insn);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dverifier_log.c34 static size_t insn_cnt; variable
41 "GPL", insns, insn_cnt, opts);
75 insn_cnt = bpf_program__insn_cnt(skel->progs.good_prog);
105 "GPL", insns, insn_cnt, &opts);
137 "GPL", insns, insn_cnt, &opts);
H A Dobj_name.c34 attr.insn_cnt = 2;
/linux-master/tools/testing/selftests/bpf/
H A Dtest_sysctl.c1439 int ret, insn_cnt; local
1441 insn_cnt = probe_prog_length(prog);
1467 ret = bpf_prog_load(BPF_PROG_TYPE_CGROUP_SYSCTL, NULL, "GPL", prog, insn_cnt, &opts);
H A Dtest_sock.c391 int ret, insn_cnt; local
393 insn_cnt = probe_prog_length(prog);
400 ret = bpf_prog_load(BPF_PROG_TYPE_CGROUP_SOCK, NULL, "GPL", prog, insn_cnt, &opts);
/linux-master/tools/testing/selftests/net/
H A Dreuseport_bpf.c112 attr.insn_cnt = ARRAY_SIZE(prog);
355 eprog.insn_cnt = ARRAY_SIZE(ecode);
H A Dpsock_fanout.c166 attr.insn_cnt = ARRAY_SIZE(prog);
H A Dreuseport_bpf_numa.c89 attr.insn_cnt = ARRAY_SIZE(prog);
/linux-master/tools/build/feature/
H A Dtest-bpf.c34 attr.insn_cnt = 0;

Completed in 249 milliseconds

12