Home
last modified time | relevance | path

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

12

/tools/build/feature/
Dtest-bpf.c28 attr.insn_cnt = 0; in main()
/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)
Dintel-pt-events.py187 insn_cnt = get_optional_zero(sample, "insn_cnt")
188 ipc_str = " IPC: %#.2f (%u/%u)" % (insn_cnt / cyc_cnt, insn_cnt, cyc_cnt)
Dexported-sql-viewer.py528 …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 …]
/tools/perf/include/perf/
Dperf_dlfilter.h46 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member
/tools/testing/selftests/bpf/prog_tests/
Dobj_name.c34 attr.insn_cnt = 2; in test_obj_name()
/tools/lib/bpf/
Dskel_internal.h86 attr.insn_cnt = opts->insns_sz / sizeof(struct bpf_insn); in bpf_load_and_run()
Dgen_loader.c594 load_attr->prog_type, load_attr->insn_cnt); in bpf_gen__prog_load()
599 load_attr->insn_cnt * sizeof(struct bpf_insn)); in bpf_gen__prog_load()
606 attr.insn_cnt = (__u32)load_attr->insn_cnt; in bpf_gen__prog_load()
663 debug_ret(gen, "prog_load %s insn_cnt %d", attr.prog_name, attr.insn_cnt); in bpf_gen__prog_load()
Dbpf.c247 attr.insn_cnt = (__u32)load_attr->insn_cnt; in libbpf__bpf_prog_load()
359 p.insn_cnt = load_attr->insns_cnt; in bpf_load_program_xattr()
407 attr.insn_cnt = (__u32)insns_cnt; in bpf_verify_program()
Dlibbpf_internal.h258 size_t insn_cnt; member
/tools/testing/selftests/bpf/progs/
Dsyscall.c85 .insn_cnt = sizeof(insns) / sizeof(insns[0]), in bpf_prog()
/tools/testing/selftests/bpf/
Dtest_verifier_log.c54 attr.insn_cnt = (__u32)(sizeof(code_sample) / sizeof(struct bpf_insn)); in load()
/tools/perf/util/
Dintel-pt.c505 u64 insn_cnt; member
578 u64 offset, u64 insn_cnt, u64 byte_cnt, in intel_pt_cache_add() argument
592 e->insn_cnt = insn_cnt; in intel_pt_cache_add()
719 u64 insn_cnt = 0; in intel_pt_walk_next_insn() local
762 (!max_insn_cnt || e->insn_cnt <= max_insn_cnt)) { in intel_pt_walk_next_insn()
763 *insn_cnt_ptr = e->insn_cnt; in intel_pt_walk_next_insn()
797 insn_cnt += 1; in intel_pt_walk_next_insn()
812 if (max_insn_cnt && insn_cnt >= max_insn_cnt) in intel_pt_walk_next_insn()
830 *insn_cnt_ptr = insn_cnt; in intel_pt_walk_next_insn()
848 intel_pt_cache_add(al.map->dso, machine, start_offset, insn_cnt, in intel_pt_walk_next_insn()
[all …]
Devent.h136 u64 insn_cnt; member
Ddlfilter.c485 ASSIGN(insn_cnt); in dlfilter__do_filter_event()
/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.c165 attr.insn_cnt = sizeof(prog) / sizeof(prog[0]); in sock_fanout_set_ebpf()
/tools/perf/dlfilters/
Ddlfilter-test-api-v0.c51 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */ member
/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c1106 uint64_t max_insn_cnt, insn_cnt = 0; in intel_pt_walk_insn() local
1114 err = decoder->walk_insn(intel_pt_insn, &insn_cnt, &decoder->ip, ip, in intel_pt_walk_insn()
1117 decoder->tot_insn_cnt += insn_cnt; in intel_pt_walk_insn()
1118 decoder->timestamp_insn_cnt += insn_cnt; in intel_pt_walk_insn()
1119 decoder->sample_insn_cnt += insn_cnt; in intel_pt_walk_insn()
1120 decoder->period_insn_cnt += insn_cnt; in intel_pt_walk_insn()
1137 if (max_insn_cnt && insn_cnt >= max_insn_cnt) in intel_pt_walk_insn()
/tools/perf/Documentation/
Dperf-dlfilter.txt91 __u64 insn_cnt; /* For instructions-per-cycle (IPC) */
/tools/perf/util/scripting-engines/
Dtrace-event-python.c845 if (sample->insn_cnt && sample->cyc_cnt) { in get_perf_sample_dict()
847 PyLong_FromUnsignedLongLong(sample->insn_cnt)); in get_perf_sample_dict()
1239 tuple_set_d64(t, 22, es->sample->insn_cnt); in python_export_sample_table()
/tools/testing/selftests/filesystems/fuse/
Dbpf_loader.c796 .insn_cnt = data_prog->d_size / 8, in install_elf_bpf()
/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst357 bpftool-620059 [004] d... 2634685.517997: bpf_trace_printk: prog_load sample insn_cnt 13 r=7
/tools/include/uapi/linux/
Dbpf.h1308 __u32 insn_cnt; member

12