Home
last modified time | relevance | path

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

12

/tools/usb/usbip/src/
Dusbip_attach.c47 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()
Dusbip_list.c48 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()
Dusbipd.c301 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/
DREADME42 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 …]
DINSTALL168 "host" platform (i.e., that on which the generated programs will
169 eventually be run) with `--host=TYPE'.
/tools/virtio/virtio-trace/
DREADME15 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/
Dperf-kvm.txt11 '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 …]
Dperf-list.txt30 H - host counting (not in KVM guests)
69 registers: event, umask, edge, inv, cmask. Esp. guest/host only and
Dperf-buildid-cache.txt26 Add specified kcore file to the cache. For the current host that is
Dperf-script.txt200 It currently includes: cpu and numa topology of the host system.
/tools/usb/usbip/libsrc/
Dvhci_driver.c164 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/
Dthread-mg-share.c31 machine = &machines.host; in test__thread_mg_share()
Dmmap-thread-lookup.c166 machine = &machines.host; in mmap_events()
Dcode-reading.c417 machine = &machines.host; in do_test_code_reading()
/tools/lguest/
Dlguest.txt27 - 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/
Dmachine.c133 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()
Dsession.c58 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()
Dmachine.h90 struct machine host; member
Dheader.c229 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/
Dbuiltin-trace.c1222 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 …]
Dbuiltin-top.c828 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()
Dbuiltin-kmem.c276 struct machine *machine = &session->machines.host; in __print_result()
Dbuiltin-record.c370 machine = &session->machines.host; in __cmd_record()
Dbuiltin-report.c359 struct map *kernel_map = rep->session->machines.host.vmlinux_maps[MAP__FUNCTION]; in report__warn_kptr_restrict()
/tools/testing/ktest/examples/
DREADME20 on a host.

12