Home
last modified time | relevance | path

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

/tools/perf/util/
A Ddebuginfo.c55 dbg->mod = dwfl_report_offline(dbg->dwfl, "", "", fd); in debuginfo__init_offline_dwarf()
59 dbg->dbg = dwfl_module_getdwarf(dbg->mod, &dbg->bias); in debuginfo__init_offline_dwarf()
60 if (!dbg->dbg) in debuginfo__init_offline_dwarf()
63 dwfl_module_build_id(dbg->mod, &dbg->build_id, &dummy); in debuginfo__init_offline_dwarf()
73 memset(dbg, 0, sizeof(*dbg)); in debuginfo__init_offline_dwarf()
80 struct debuginfo *dbg = zalloc(sizeof(*dbg)); in __debuginfo__new() local
81 if (!dbg) in __debuginfo__new()
86 if (dbg) in __debuginfo__new()
88 return dbg; in __debuginfo__new()
138 if (dbg) { in debuginfo__delete()
[all …]
A Ddebuginfo.h14 Dwarf *dbg; member
23 void debuginfo__delete(struct debuginfo *dbg);
25 int debuginfo__get_text_offset(struct debuginfo *dbg, Dwarf_Addr *offs,
39 static inline void debuginfo__delete(struct debuginfo *dbg __maybe_unused) in debuginfo__delete()
45 static inline int debuginfo__get_text_offset(struct debuginfo *dbg __maybe_unused, in debuginfo__get_text_offset()
A Dprobe-finder.h33 int debuginfo__find_trace_events(struct debuginfo *dbg,
38 int debuginfo__find_probe_point(struct debuginfo *dbg, u64 addr,
42 int debuginfo__find_line_range(struct debuginfo *dbg, struct line_range *lr);
45 int debuginfo__find_available_vars_at(struct debuginfo *dbg,
55 struct debuginfo *dbg; member
A Dprobe-finder.c1087 dwarf_getpubnames(dbg->dbg, pubname_search_cb, in debuginfo__find_probe_location()
1099 diep = dwarf_offdie(dbg->dbg, off + cuhl, &pf->cu_die); in debuginfo__find_probe_location()
1145 elf = dwarf_getelf(dbg->dbg); in debuginfo__find_probes()
1162 pf->cfi_dbg = dwarf_getcfi(dbg->dbg); in debuginfo__find_probes()
1391 .pf = {.pev = pev, .dbg = dbg, .callback = add_probe_trace_event}, in debuginfo__find_trace_events()
1563 .pf = {.pev = pev, .dbg = dbg, .callback = add_available_vars}, in debuginfo__find_available_vars_at()
1564 .mod = dbg->mod, in debuginfo__find_available_vars_at()
1603 if (!dwarf_addrdie(dbg->dbg, (Dwarf_Addr)addr, &cudie)) { in debuginfo__find_probe_point()
1842 dwarf_getpubnames(dbg->dbg, pubname_search_cb, in debuginfo__find_line_range()
1853 if (dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, in debuginfo__find_line_range()
[all …]
A Dannotate-data.c404 if (dwarf_addrdie(di->dbg, pc, cu_die) != NULL) in find_cu_die()
413 while (dwarf_nextcu(di->dbg, off, &next_off, &header_size, in find_cu_die()
415 if (dwarf_offdie(di->dbg, off + header_size, cu_die) && in find_cu_die()
735 Dwarf *dwarf = dloc->di->dbg; in global_var__collect()
796 if (!dwarf_offdie(dloc->di->dbg, gvar->die_offset, type_die)) in get_global_var_type()
856 if (die_get_cfa(dloc->di->dbg, addr, &fbreg, &fb_offset) < 0) in update_var_state()
864 if (!dwarf_offdie(dloc->di->dbg, var->die_off, &mem_die)) in update_var_state()
1209 if (die_get_cfa(dloc->di->dbg, pc, &fbreg, &fboff) < 0) in check_matching_type()
1514 if (die_get_cfa(dloc->di->dbg, pc, &fbreg, in find_data_type_die()
A Dannotate.c772 struct debuginfo *dbg; member
850 if (opts->code_with_type && apd->dbg) { in annotation_line__print()
855 apd->dbg, dl, &offset); in annotation_line__print()
1272 apd.dbg = debuginfo__new(filename); in hist_entry__annotate_printf()
1313 debuginfo__delete(apd.dbg); in hist_entry__annotate_printf()
2690 struct debuginfo *dbg; member
2698 debuginfo__delete(di_cache.dbg); in debuginfo_cache__delete()
2699 di_cache.dbg = NULL; in debuginfo_cache__delete()
2740 .di = dbg, in __hist_entry__get_data_type()
2831 debuginfo__delete(di_cache.dbg); in hist_entry__get_data_type()
[all …]
/tools/usb/usbip/libsrc/
A Dvhci_driver.c63 dbg("sscanf failed: %d", ret); in parse_status()
92 dbg("imported_device_init failed"); in parse_status()
104 dbg("exit"); in parse_status()
128 dbg("controller %d", i); in refresh_imported_device_list()
269 dbg("available ports: %d", nports); in usbip_vhci_driver_open()
330 dbg("failed to refresh device list"); in usbip_vhci_refresh_device_list()
367 dbg("writing: %s", buff); in usbip_vhci_attach_device2()
376 dbg("write_sysfs_attribute failed"); in usbip_vhci_attach_device2()
380 dbg("attached port: %d", port); in usbip_vhci_attach_device2()
408 dbg("writing: %s", buff); in usbip_vhci_detach_device()
[all …]
A Dsysfs_utils.c18 dbg("error opening attribute %s", attr_path); in write_sysfs_attribute()
24 dbg("error writing to attribute %s", attr_path); in write_sysfs_attribute()
A Dusbip_common.c94 dbg("%-20s = %x", to_string(name), (int) udev->name)
97 dbg("%-20s = %x", to_string(name), (int) uinf->name)
107 dbg("%-20s = %s", "Interface(C/SC/P)", buff); in dump_usb_interface()
114 dbg("%-20s = %s", "path", udev->path); in dump_usb_device()
115 dbg("%-20s = %s", "busid", udev->busid); in dump_usb_device()
121 dbg("%-20s = %s", "Device(C/SC/P)", buff); in dump_usb_device()
128 dbg("%-20s = %s", "Vendor/Product", buff); in dump_usb_device()
133 dbg("%-20s = %s", "speed", in dump_usb_device()
A Dusbip_host_common.c97 dbg("realloc failed"); in usbip_exported_device_new()
143 dbg("usbip_exported_device_new failed"); in refresh_exported_devices()
221 dbg("device not available: %s", edev->udev.busid); in usbip_export_device()
224 dbg("status SDEV_ST_ERROR"); in usbip_export_device()
228 dbg("status SDEV_ST_USED"); in usbip_export_device()
232 dbg("status unknown: 0x%x", edev->status); in usbip_export_device()
A Dnames.c356 dbg("line %5u class %02x %s", linectr, u, cp); in parse()
382 dbg("line %5u vendor %04x %s", linectr, u, cp); in parse()
401 dbg("line %5u product %04x:%04x %s", linectr, in parse()
409 dbg("line %5u subclass %02x:%02x %s", linectr, in parse()
442 dbg("line %5u protocol %02x:%02x:%02x %s", in parse()
A Dusbip_common.h86 #define dbg(fmt, args...) \ macro
/tools/usb/usbip/src/
A Dusbipd.c105 dbg("usbip_net_recv failed: import request"); in recv_request_import()
148 dbg("usbip_net_send failed: devinfo"); in recv_request_import()
208 dbg("usbip_net_send failed: pdu_udev"); in send_reply_devlist()
244 dbg("send_reply_devlist failed"); in recv_request_devlist()
389 dbg("opening %s", ai_buf); in listen_all_addrinfo()
448 dbg("received '%s' signal", strsignal(i)); in signal_handler()
469 dbg("creating pid file %s", pid_file); in write_pid_file()
486 dbg("removing pid file %s", pid_file); in remove_pid_file()
564 dbg("%s", strerror(errno)); in do_standalone_mode()
569 dbg("read event on fd[%d]=%d", in do_standalone_mode()
[all …]
A Dusbip_network.c28 dbg("parsing port arg '%s'", arg); in usbip_setup_port_number()
155 dbg("usbip_net_send failed: %d", rc); in usbip_net_send_op_common()
171 dbg("usbip_net_recv failed: %d", rc); in usbip_net_recv_op_common()
188 dbg("unexpected pdu %#0x for %#0x", op_common.code, in usbip_net_recv_op_common()
199 dbg("request failed at peer: %d", op_common.status); in usbip_net_recv_op_common()
217 dbg("setsockopt: SO_REUSEADDR"); in usbip_net_set_reuseaddr()
229 dbg("setsockopt: TCP_NODELAY"); in usbip_net_set_nodelay()
241 dbg("setsockopt: SO_KEEPALIVE"); in usbip_net_set_keepalive()
253 dbg("setsockopt: IPV6_V6ONLY"); in usbip_net_set_v6only()
274 dbg("getaddrinfo: %s service %s: %s", hostname, service, in usbip_net_tcp_connect()
A Dusbip_list.c58 dbg("usbip_net_send_op_common failed"); in get_exported_devices()
72 dbg("usbip_net_recv_op_devlist failed"); in get_exported_devices()
76 dbg("exportable devices: %d\n", reply.ndev); in get_exported_devices()
91 dbg("usbip_net_recv failed: usbip_usb_device[%d]", i); in get_exported_devices()
139 dbg("connected to %s:%s", host, usbip_port_string); in list_exported_devices()
207 dbg("Skip the device %s already attached to %s\n", in list_devices()
A Dusbip_bind.c78 dbg("unable to find device with bus ID %s", busid); in unbind_other()
85 dbg("unable to get bDevClass device attribute"); in unbind_other()
90 dbg("skip unbinding of hub"); in unbind_other()
A Dutils.c38 dbg("failed to write match_busid: %s", strerror(errno)); in modify_match_busid()
A Dusbip.c129 dbg("running command: `%s'", cmd->name); in run_command()
A Dusbip_attach.c100 dbg("got free port %d", port); in import_device()
/tools/power/cpupower/utils/idle_monitor/
A Dnhm_idle.c129 unsigned long long dbg, val; in nhm_start() local
139 nhm_get_count(TSC, &dbg, base_cpu); in nhm_start()
140 dprint("TSC diff: %llu\n", dbg - tsc_at_measure_start); in nhm_start()
147 unsigned long long dbg; in nhm_stop() local
158 nhm_get_count(TSC, &dbg, base_cpu); in nhm_stop()
159 dprint("TSC diff: %llu\n", dbg - tsc_at_measure_end); in nhm_stop()
/tools/build/feature/
A Dtest-libdw.c10 Dwarf *dbg = dwarf_begin(0, DWARF_C_READ); in test_libdw() local
12 return dbg == NULL; in test_libdw()
/tools/accounting/
A Dprocacct.c62 int dbg; variable
68 if (dbg) { \
304 dbg = 1; in main()
A Dgetdelays.c50 int dbg; variable
56 if (dbg) { \
430 dbg = 1; in main()
/tools/cgroup/
A Diocost_coef_gen.py55 def dbg(msg): function
100 dbg(f'Running {cmd}')
/tools/perf/arch/x86/annotate/
A Dinstructions.c321 if (die_get_cfa(dloc->di->dbg, pc, &fbreg, &fboff) < 0) in update_insn_state_x86()

Completed in 49 milliseconds