Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 24 of 24) sorted by relevance

/tools/perf/util/
Dannotate.c31 static void ins__delete(struct ins_operands *ops) in ins__delete() argument
33 if (ops == NULL) in ins__delete()
35 zfree(&ops->source.raw); in ins__delete()
36 zfree(&ops->source.name); in ins__delete()
37 zfree(&ops->target.raw); in ins__delete()
38 zfree(&ops->target.name); in ins__delete()
42 struct ins_operands *ops) in ins__raw_scnprintf() argument
44 return scnprintf(bf, size, "%-6.6s %s", ins->name, ops->raw); in ins__raw_scnprintf()
48 struct ins_operands *ops) in ins__scnprintf() argument
50 if (ins->ops->scnprintf) in ins__scnprintf()
[all …]
Dannotate.h32 struct ins_operands *ops; member
38 void (*free)(struct ins_operands *ops);
39 int (*parse)(struct ins_operands *ops);
41 struct ins_operands *ops);
46 struct ins_ops *ops; member
51 int ins__scnprintf(struct ins *ins, char *bf, size_t size, struct ins_operands *ops);
64 struct ins_operands ops; member
69 return dl->ops.target.offset != UINT64_MAX; in disasm_line__has_offset()
Dtrace-event.h83 int script_spec_register(const char *spec, struct scripting_ops *ops);
Dkvm-stat.h107 struct kvm_events_ops *ops; member
Dhist.c886 err = iter->ops->prepare_entry(iter, al); in hist_entry_iter__add()
890 err = iter->ops->add_single_entry(iter, al); in hist_entry_iter__add()
900 while (iter->ops->next_entry(iter, al)) { in hist_entry_iter__add()
901 err = iter->ops->add_next_entry(iter, al); in hist_entry_iter__add()
913 err2 = iter->ops->finish_entry(iter, al); in hist_entry_iter__add()
Dparse-events.l264 refs|Reference|ops|access |
Dhist.h101 const struct hist_iter_ops *ops; member
/tools/perf/arch/powerpc/util/
Dskip-callchain-idx.c50 Dwarf_Op *ops = &dummy; in check_return_reg() local
54 result = dwarf_frame_register(frame, ra_regno, ops_mem, &ops, &nops); in check_return_reg()
65 if ((nops != 0 || ops != NULL) && in check_return_reg()
66 !(nops == 1 && ops[0].atom == DW_OP_regx && in check_return_reg()
67 ops[0].number2 == 0 && ops[0].offset == 0)) in check_return_reg()
74 result = dwarf_frame_cfa(frame, &ops, &nops); in check_return_reg()
84 if (nops == 1 && ops[0].atom == DW_OP_bregx && ops[0].number == 1 && in check_return_reg()
85 ops[0].number2 == 0) in check_return_reg()
/tools/testing/nvdimm/test/
Diomap.c46 struct iomap_ops *ops; in get_nfit_res() local
48 ops = list_first_or_null_rcu(&iomap_head, typeof(*ops), list); in get_nfit_res()
49 if (ops) in get_nfit_res()
50 return ops->nfit_test_lookup(resource); in get_nfit_res()
/tools/perf/arch/x86/util/
Dkvm-stat.c133 { .name = "vmexit", .ops = &exit_events },
134 { .name = "mmio", .ops = &mmio_events },
135 { .name = "ioport", .ops = &ioport_events },
/tools/perf/bench/
Dfutex-hash.c41 unsigned long ops; member
72 for (i = 0; i < nfutexes; i++, w->ops++) { in workerfn()
194 unsigned long t = worker[i].ops/runtime.tv_sec; in bench_futex_hash()
Dfutex-lock-pi.c22 unsigned long ops; member
103 w->ops++; /* account for thread's share of work */ in workerfn()
201 unsigned long t = worker[i].ops/runtime.tv_sec; in bench_futex_lock_pi()
/tools/perf/Documentation/
Dperf-bench.txt35 170792 ops/sec
124 123581 ops/sec
131 59004 ops/sec
Dperf-list.txt50 clocks not halted) and 0xC1 (micro-ops retired). Both events map to
58 perf record -a -e r0C1:p ... # use ibs op counting micro-ops
82 A8H 01H LSD.UOPS Counts the number of micro-ops Use cmask=1 and
/tools/perf/arch/s390/util/
Dkvm-stat.c87 { .name = "vmexit", .ops = &exit_events },
/tools/perf/ui/browsers/
Dannotate.c215 if (dl->ins && dl->ins->ops->scnprintf) { in annotate_browser__write()
217 bool fwd = dl->ops.target.offset > (u64)dl->offset; in annotate_browser__write()
249 || dl->ops.target.offset >= symbol__size(sym)) in disasm_line__is_valid_jump()
272 target = ab->offsets[cursor->ops.target.offset]; in annotate_browser__draw_current_jump()
492 .addr = map__objdump_2mem(ms->map, dl->ops.target.addr), in annotate_browser__callq()
502 dl->ops.target.addr) { in annotate_browser__callq()
552 dl = annotate_browser__find_offset(browser, dl->ops.target.offset, &idx); in annotate_browser__jump()
984 dlt = browser->offsets[dl->ops.target.offset]; in annotate_browser__mark_jump_targets()
/tools/perf/
Dbuiltin-script.c995 struct scripting_ops *ops; member
1002 struct scripting_ops *ops) in script_spec__new() argument
1008 s->ops = ops; in script_spec__new()
1030 struct scripting_ops *ops) in script_spec__findnew() argument
1037 s = script_spec__new(spec, ops); in script_spec__findnew()
1046 int script_spec_register(const char *spec, struct scripting_ops *ops) in script_spec_register() argument
1054 s = script_spec__findnew(spec, ops); in script_spec_register()
1067 return s->ops; in script_spec__lookup()
1079 fprintf(stderr, " %-42s [%s]\n", s->spec, s->ops->name); in list_available_languages()
Dbuiltin-report.c173 iter.ops = &hist_iter_branch; in process_sample_event()
175 iter.ops = &hist_iter_mem; in process_sample_event()
177 iter.ops = &hist_iter_cumulative; in process_sample_event()
179 iter.ops = &hist_iter_normal; in process_sample_event()
Dbuiltin-top.c801 iter.ops = &hist_iter_cumulative; in perf_event__process_sample()
803 iter.ops = &hist_iter_normal; in perf_event__process_sample()
Dbuiltin-kvm.c103 kvm->events_ops = events_ops->ops; in register_kvm_events_ops()
/tools/perf/tests/
Dhists_cumulate.c96 iter.ops = &hist_iter_cumulative; in add_hist_entries()
98 iter.ops = &hist_iter_normal; in add_hist_entries()
Dhists_filter.c69 .ops = &hist_iter_normal, in add_hist_entries()
Dhists_output.c62 .ops = &hist_iter_normal, in add_hist_entries()
/tools/vm/
Dslabinfo.c416 static void ops(struct slabinfo *s) in ops() function
555 ops(s); in report()
1293 ops(slab); in output_slabs()