/tools/usb/usbip/src/ |
D | usbip_attach.c | 47 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection() argument 76 host, port, busid); in record_connection() 172 static int attach_device(char *host, char *busid) in attach_device() argument 178 sockfd = usbip_net_tcp_connect(host, usbip_port_string); in attach_device() 192 rc = record_connection(host, usbip_port_string, busid, rhport); in attach_device() 208 char *host = NULL; in usbip_attach() local 221 host = optarg; in usbip_attach() 231 if (!host || !busid) in usbip_attach() 234 ret = attach_device(host, busid); in usbip_attach()
|
D | usbip_list.c | 48 static int get_exported_devices(char *host, int sockfd) in get_exported_devices() argument 81 info("no exportable devices found on %s", host); in get_exported_devices() 87 printf(" - %s\n", host); in get_exported_devices() 130 static int list_exported_devices(char *host) in list_exported_devices() argument 135 sockfd = usbip_net_tcp_connect(host, usbip_port_string); in list_exported_devices() 137 err("could not connect to %s:%s: %s", host, in list_exported_devices() 141 dbg("connected to %s:%s", host, usbip_port_string); in list_exported_devices() 143 rc = get_exported_devices(host, sockfd); in list_exported_devices() 145 err("failed to get device list from %s", host); in list_exported_devices()
|
D | usbipd.c | 301 char host[NI_MAXHOST], port[NI_MAXSERV]; in do_accept() local 312 rc = getnameinfo((struct sockaddr *)&ss, len, host, sizeof(host), in do_accept() 320 info("denied access from %s", host); in do_accept() 325 info("connection from %s:%s", host, port); in do_accept() 421 static struct addrinfo *do_getaddrinfo(char *host, int ai_family) in do_getaddrinfo() argument 431 rc = getaddrinfo(host, usbip_port_string, &hints, &ai_head); in do_getaddrinfo()
|
/tools/usb/usbip/ |
D | README | 42 server:# insmod usbip-host.ko 51 - Bind usbip-host.ko to the device with busid 1-2. 58 client:# usbip list --remote <host> 59 - List exported USB devices on the <host>. 61 client:# usbip attach --remote <host> --busid 1-2 75 Physically attach your USB devices to this host. 78 trois:# insmod path/to/usbip-host.ko 82 attached to this host. 113 "exportable"; the device is bound to the usbip-host driver. Please 130 3-3.2:1.0 -> usbip-host [all …]
|
D | INSTALL | 168 "host" platform (i.e., that on which the generated programs will 169 eventually be run) with `--host=TYPE'.
|
/tools/virtio/virtio-trace/ |
D | README | 15 3) A controller thread does poll() for a start order of a host. 16 4) After the controller of the trace agent receives a start order from a host, 20 6) If the controller receives a stop order from a host, the read/write threads 41 1) Make FIFO in a host 53 2) Set up of virtio-serial pipe in a host 103 read/write threads in the agent wait for start order from host. If you add -o 106 3) Open FIFO in a host 108 If a host does not open these, trace data get stuck in buffers of virtio. Then, 112 4) Start to read trace data by ordering from a host 113 A host injects read start order to the guest via virtio-serial. [all …]
|
/tools/perf/Documentation/ |
D | perf-kvm.txt | 11 'perf kvm' [--host] [--guest] [--guestmount=<path> 14 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> 28 default behavior of perf kvm as --guest, so if neither --host nor --guest 29 is input, the perf data file name is perf.data.guest. If --host is input, 31 perf.data.host, please input --host --no-guest. The behaviors are shown as 34 --host -> perf.data.kvm 36 --host --guest -> perf.data.kvm 37 --host --no-guest -> perf.data.host 75 --host:: 76 Collect host side performance profile. [all …]
|
D | perf-list.txt | 30 H - host counting (not in KVM guests) 69 registers: event, umask, edge, inv, cmask. Esp. guest/host only and
|
D | perf-buildid-cache.txt | 26 Add specified kcore file to the cache. For the current host that is
|
D | perf-script.txt | 200 It currently includes: cpu and numa topology of the host system.
|
/tools/usb/usbip/libsrc/ |
D | vhci_driver.c | 164 static int read_record(int rhport, char *host, unsigned long host_len, in read_record() argument 207 if (sscanf(buffer, "%s %s %s\n", host, port, busid) != 3) { in read_record() 373 char host[NI_MAXHOST] = "unknown host"; in usbip_vhci_imported_device_dump() local 382 ret = read_record(idev->port, host, sizeof(host), serv, sizeof(serv), in usbip_vhci_imported_device_dump() 400 host, serv, remote_busid); in usbip_vhci_imported_device_dump()
|
/tools/perf/tests/ |
D | thread-mg-share.c | 31 machine = &machines.host; in test__thread_mg_share()
|
D | mmap-thread-lookup.c | 166 machine = &machines.host; in mmap_events()
|
D | code-reading.c | 417 machine = &machines.host; in do_test_code_reading()
|
/tools/lguest/ |
D | lguest.txt | 27 - The easiest way to run lguest is to use same kernel as guest and host. 91 - Configuring networking. I usually have the host masquerade, using 118 /dev/hwrng in the guest that will read from the host's /dev/random.
|
/tools/perf/util/ |
D | machine.c | 133 machine__init(&machines->host, "", HOST_KERNEL_ID); in machines__init() 140 machine__exit(&machines->host); in machines__exit() 182 machines->host.symbol_filter = symbol_filter; in machines__set_symbol_filter() 195 machines->host.comm_exec = comm_exec; in machines__set_comm_exec() 212 return &machines->host; in machines__find() 294 machines->host.id_hdr_size = id_hdr_size; in machines__set_id_hdr_size() 487 size_t ret = __dsos__fprintf(&machines->host.kernel_dsos.head, fp) + in machines__fprintf_dsos() 488 __dsos__fprintf(&machines->host.user_dsos.head, fp); in machines__fprintf_dsos() 510 size_t ret = machine__fprintf_dsos_buildid(&machines->host, fp, skip, parm); in machines__fprintf_dsos_buildid() 736 machine__destroy_kernel_maps(&machines->host); in machines__destroy_kernel_maps()
|
D | session.c | 58 int ret = machine__create_kernel_maps(&session->machines.host); in perf_session__create_kernel_maps() 143 machine__delete_dead_threads(&session->machines.host); in perf_session__delete_dead_threads() 148 machine__delete_threads(&session->machines.host); in perf_session__delete_threads() 728 return &session->machines.host; in perf_session__find_machine_for_cpumode() 1002 return machine__findnew_thread(&session->machines.host, -1, pid); in perf_session__findnew() 1009 thread = machine__findnew_thread(&session->machines.host, 0, 0); in perf_session__register_idle_thread() 1388 return machine__fprintf(&session->machines.host, fp); in perf_session__fprintf()
|
D | machine.h | 90 struct machine host; member
|
D | header.c | 229 err = machine__hit_all_dsos(&session->machines.host); in dsos__hit_all() 305 int err = machine__write_buildid_table(&session->machines.host, fd); in dsos__write_buildid_table() 477 ret = machine__cache_build_ids(&session->machines.host, debugdir); in perf_session__cache_build_ids() 498 bool ret = machine__read_build_ids(&session->machines.host, with_hits); in perf_session__read_build_ids()
|
/tools/perf/ |
D | builtin-trace.c | 1222 struct machine *host; member 1419 trace->host = machine__new_host(); in trace__symbols_init() 1420 if (trace->host == NULL) in trace__symbols_init() 1423 err = __machine__synthesize_threads(trace->host, &trace->tool, &trace->opts.target, in trace__symbols_init() 1663 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); in trace__sys_enter() 1711 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); in trace__sys_exit() 1786 struct thread *thread = machine__findnew_thread(trace->host, in trace__sched_stat_runtime() 1836 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); in trace__pgfault() 1849 thread__find_addr_location(thread, trace->host, cpumode, MAP__FUNCTION, in trace__pgfault() 1862 thread__find_addr_location(thread, trace->host, cpumode, MAP__VARIABLE, in trace__pgfault() [all …]
|
D | builtin-top.c | 828 machine = &session->machines.host; in perf_top__mmap_read_idx() 834 machine = &session->machines.host; in perf_top__mmap_read_idx() 951 machine__synthesize_threads(&top->session->machines.host, &opts->target, in __cmd_top()
|
D | builtin-kmem.c | 276 struct machine *machine = &session->machines.host; in __print_result()
|
D | builtin-record.c | 370 machine = &session->machines.host; in __cmd_record()
|
D | builtin-report.c | 359 struct map *kernel_map = rep->session->machines.host.vmlinux_maps[MAP__FUNCTION]; in report__warn_kptr_restrict()
|
/tools/testing/ktest/examples/ |
D | README | 20 on a host.
|