/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | syscall.c | 122 .insn_cnt = sizeof(insns) / sizeof(insns[0]),
|
/linux-master/tools/perf/dlfilters/ |
H A D | dlfilter-test-api-v0.c | 51 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member in struct:perf_dlfilter_sample
|
H A D | dlfilter-test-api-v2.c | 57 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member in struct:perf_dlfilter_sample
|
/linux-master/tools/perf/include/perf/ |
H A D | perf_dlfilter.h | 52 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member in struct:perf_dlfilter_sample
|
/linux-master/tools/perf/util/ |
H A D | thread-stack.c | 1144 ts->insn_count += sample->insn_cnt;
|
/linux-master/tools/perf/scripts/python/ |
H A 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)
|
H A D | export-to-postgresql.py | 1031 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 D | gen_loader.c | 936 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 D | bpf_gen_internal.h | 64 const char *license, struct bpf_insn *insns, size_t insn_cnt,
|
H A D | skel_internal.h | 333 attr.insn_cnt = opts->insns_sz / sizeof(struct bpf_insn);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | verifier_log.c | 34 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 D | obj_name.c | 34 attr.insn_cnt = 2;
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 1439 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 D | test_sock.c | 391 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 D | reuseport_bpf.c | 112 attr.insn_cnt = ARRAY_SIZE(prog); 355 eprog.insn_cnt = ARRAY_SIZE(ecode);
|
H A D | psock_fanout.c | 166 attr.insn_cnt = ARRAY_SIZE(prog);
|
H A D | reuseport_bpf_numa.c | 89 attr.insn_cnt = ARRAY_SIZE(prog);
|
/linux-master/tools/build/feature/ |
H A D | test-bpf.c | 34 attr.insn_cnt = 0;
|