Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dannotate.c32 static void ins__delete(struct ins_operands *ops) in ins__delete() argument
34 if (ops == NULL) in ins__delete()
36 zfree(&ops->source.raw); in ins__delete()
37 zfree(&ops->source.name); in ins__delete()
38 zfree(&ops->target.raw); in ins__delete()
39 zfree(&ops->target.name); in ins__delete()
43 struct ins_operands *ops) in ins__raw_scnprintf() argument
45 return scnprintf(bf, size, "%-6.6s %s", ins->name, ops->raw); in ins__raw_scnprintf()
49 struct ins_operands *ops) in ins__scnprintf() argument
51 if (ins->ops->scnprintf) in ins__scnprintf()
[all …]
Dunwind-libunwind.c12 struct unwind_libunwind_ops *ops) in unwind__register_ops() argument
14 thread->unwind_libunwind_ops = ops; in unwind__register_ops()
22 struct unwind_libunwind_ops *ops = local_unwind_libunwind_ops; in unwind__prepare_access() local
45 ops = x86_32_unwind_libunwind_ops; in unwind__prepare_access()
48 ops = arm64_unwind_libunwind_ops; in unwind__prepare_access()
51 if (!ops) { in unwind__prepare_access()
56 unwind__register_ops(thread, ops); in unwind__prepare_access()
Dannotate.h32 struct ins_operands *ops; member
38 void (*free)(struct ins_operands *ops);
39 int (*parse)(struct ins_operands *ops, struct map *map);
41 struct ins_operands *ops);
46 struct ins_ops *ops; member
52 int ins__scnprintf(struct ins *ins, char *bf, size_t size, struct ins_operands *ops);
65 struct ins_operands ops; member
70 return dl->ops.target.offset != UINT64_MAX; in disasm_line__has_offset()
Dhist.c450 struct hist_entry_ops *ops = template->ops; in hist_entry__new() local
455 if (!ops) in hist_entry__new()
456 ops = template->ops = &default_ops; in hist_entry__new()
461 he = ops->new(callchain_size); in hist_entry__new()
465 ops->free(he); in hist_entry__new()
575 struct hist_entry_ops *ops) in __hists__add_entry() argument
602 .ops = ops, in __hists__add_entry()
621 struct hist_entry_ops *ops, in hists__add_entry_ops() argument
630 sample, sample_self, ops); in hists__add_entry_ops()
1035 err = iter->ops->prepare_entry(iter, al); in hist_entry_iter__add()
[all …]
Dtrace-event.h89 int script_spec_register(const char *spec, struct scripting_ops *ops);
Dkvm-stat.h107 struct kvm_events_ops *ops; member
Dsort.h134 struct hist_entry_ops *ops; member
Dhist.h113 const struct hist_iter_ops *ops; member
133 struct hist_entry_ops *ops,
/tools/usb/usbip/libsrc/
Dusbip_host_common.h55 struct usbip_host_driver_ops ops; member
69 if (!hdriver->ops.open) in usbip_driver_open()
71 return hdriver->ops.open(hdriver); in usbip_driver_open()
76 if (!hdriver->ops.close) in usbip_driver_close()
78 hdriver->ops.close(hdriver); in usbip_driver_close()
83 if (!hdriver->ops.refresh_device_list) in usbip_refresh_device_list()
85 return hdriver->ops.refresh_device_list(hdriver); in usbip_refresh_device_list()
91 if (!hdriver->ops.get_device) in usbip_get_device()
93 return hdriver->ops.get_device(hdriver, num); in usbip_get_device()
Dusbip_host_common.c94 if (hdriver->ops.read_device(edev->sudev, &edev->udev) < 0) in usbip_exported_device_new()
115 if (!hdriver->ops.read_interface) in usbip_exported_device_new()
117 hdriver->ops.read_interface(&edev->udev, i, &edev->uinf[i]); in usbip_exported_device_new()
152 if (hdriver->ops.is_my_device(dev)) { in refresh_exported_devices()
Dusbip_host_driver.c56 .ops = {
Dusbip_device_driver.c155 .ops = {
/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()
63 if (nops != 0 || ops != NULL) in check_return_reg()
70 result = dwarf_frame_cfa(frame, &ops, &nops); in check_return_reg()
80 if (nops == 1 && ops[0].atom == DW_OP_bregx && ops[0].number == 1 && in check_return_reg()
81 ops[0].number2 == 0) in check_return_reg()
Dkvm-stat.c95 { .name = "vmexit", .ops = &exit_events },
96 { .name = "hcall", .ops = &hcall_events },
/tools/testing/nvdimm/test/
Diomap.c53 struct iomap_ops *ops; in __get_nfit_res() local
55 ops = list_first_or_null_rcu(&iomap_head, typeof(*ops), list); in __get_nfit_res()
56 if (ops) in __get_nfit_res()
57 return ops->nfit_test_lookup(resource); in __get_nfit_res()
377 struct iomap_ops *ops; in __wrap_acpi_evaluate_dsm() local
380 ops = list_first_or_null_rcu(&iomap_head, typeof(*ops), list); in __wrap_acpi_evaluate_dsm()
381 if (ops) in __wrap_acpi_evaluate_dsm()
382 obj = ops->evaluate_dsm(handle, uuid, rev, func, argv4); in __wrap_acpi_evaluate_dsm()
/tools/perf/arch/x86/util/
Dkvm-stat.c141 { .name = "vmexit", .ops = &exit_events },
142 { .name = "mmio", .ops = &mmio_events },
143 { .name = "ioport", .ops = &ioport_events },
/tools/perf/bench/
Dfutex-lock-pi.c25 unsigned long ops; member
106 w->ops++; /* account for thread's share of work */ in workerfn()
204 unsigned long t = worker[i].ops/runtime.tv_sec; in bench_futex_lock_pi()
Dfutex-hash.c46 unsigned long ops; member
77 for (i = 0; i < nfutexes; i++, w->ops++) { in workerfn()
199 unsigned long t = worker[i].ops/runtime.tv_sec; in bench_futex_hash()
/tools/perf/Documentation/
Dperf-bench.txt35 170792 ops/sec
124 123581 ops/sec
131 59004 ops/sec
Dperf-list.txt62 clocks not halted) and 0xC1 (micro-ops retired). Both events map to
70 perf record -a -e r0C1:p ... # use ibs op counting micro-ops
94 A8H 01H LSD.UOPS Counts the number of micro-ops Use cmask=1 and
/tools/perf/arch/s390/util/
Dkvm-stat.c93 { .name = "vmexit", .ops = &exit_events },
/tools/perf/ui/browsers/
Dannotate.c216 if (dl->ins && dl->ins->ops->scnprintf) { in annotate_browser__write()
218 bool fwd = dl->ops.target.offset > (u64)dl->offset; in annotate_browser__write()
248 || dl->ops.target.offset >= symbol__size(sym)) in disasm_line__is_valid_jump()
271 target = ab->offsets[cursor->ops.target.offset]; in annotate_browser__draw_current_jump()
491 .addr = map__objdump_2mem(ms->map, dl->ops.target.addr), in annotate_browser__callq()
501 dl->ops.target.addr) { in annotate_browser__callq()
551 dl = annotate_browser__find_offset(browser, dl->ops.target.offset, &idx); in annotate_browser__jump()
983 dlt = browser->offsets[dl->ops.target.offset]; in annotate_browser__mark_jump_targets()
/tools/perf/tests/
Dhists_cumulate.c91 iter.ops = &hist_iter_cumulative; in add_hist_entries()
93 iter.ops = &hist_iter_normal; in add_hist_entries()
/tools/perf/
Dbuiltin-report.c180 iter.ops = &hist_iter_branch; in process_sample_event()
182 iter.ops = &hist_iter_mem; in process_sample_event()
184 iter.ops = &hist_iter_cumulative; in process_sample_event()
186 iter.ops = &hist_iter_normal; in process_sample_event()
Dbuiltin-script.c1279 struct scripting_ops *ops; member
1286 struct scripting_ops *ops) in script_spec__new() argument
1292 s->ops = ops; in script_spec__new()
1313 int script_spec_register(const char *spec, struct scripting_ops *ops) in script_spec_register() argument
1321 s = script_spec__new(spec, ops); in script_spec_register()
1336 return s->ops; in script_spec__lookup()
1348 fprintf(stderr, " %-42s [%s]\n", s->spec, s->ops->name); in list_available_languages()

12