Home
last modified time | relevance | path

Searched refs:guest (Results 1 – 17 of 17) sorted by relevance

/tools/virtio/ringtest/
Dvirtio_ring_0_9.c41 struct guest { struct
52 } guest; argument
78 guest.avail_idx = 0; in alloc_ring()
79 guest.kicked_avail_idx = -1; in alloc_ring()
80 guest.last_used_idx = 0; in alloc_ring()
83 guest.free_head = 0; in alloc_ring()
89 guest.num_free = ring_size; in alloc_ring()
107 if (!guest.num_free) in add_inbuf()
111 head = (ring_size - 1) & (guest.avail_idx++); in add_inbuf()
113 head = guest.free_head; in add_inbuf()
[all …]
Dring.c59 struct guest { struct
65 } guest; argument
92 guest.avail_idx = 0; in alloc_ring()
93 guest.kicked_avail_idx = -1; in alloc_ring()
94 guest.last_used_idx = 0; in alloc_ring()
103 guest.num_free = ring_size; in alloc_ring()
116 if (!guest.num_free) in add_inbuf()
119 guest.num_free--; in add_inbuf()
120 head = (ring_size - 1) & (guest.avail_idx++); in add_inbuf()
145 unsigned head = (ring_size - 1) & guest.last_used_idx; in get_buf()
[all …]
Drun-on-all.sh20 "$@" --host-affinity $HOST_AFFINITY --guest-affinity $cpu
Dmain.c295 pthread_t host, guest; in main() local
383 ret = pthread_create(&guest, NULL, start_guest, guest_arg); in main()
386 ret = pthread_join(guest, &tret); in main()
/tools/testing/vsock/
DREADME3 These tests exercise net/vmw_vsock/ host<->guest sockets for VMware, KVM, and
15 3. Install the kernel and tests inside the guest.
16 4. Boot the guest and ensure that the AF_VSOCK transport is enabled.
20 # host=server, guest=client
24 (guest)# $TEST_BINARY --mode=client \
29 # host=client, guest=server
30 (guest)# $TEST_BINARY --mode=server \
/tools/perf/Documentation/
Dperf-kvm.txt6 perf-kvm - Tool to trace/measure kvm guest os
11 'perf kvm' [--host] [--guest] [--guestmount=<path>
14 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path>
23 a performance counter profile of guest os in realtime
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
33 Default('') -> perf.data.guest
35 --guest -> perf.data.guest
36 --host --guest -> perf.data.kvm
[all …]
Dperf-list.txt51 G - guest counting (in KVM guests)
95 registers: event, umask, edge, inv, cmask. Esp. guest/host only and
Dperf-report.txt103 on guest machine
105 guest machine
Dintel-pt.txt215 G guest
/tools/kvm/kvm_stat/
Dkvm_stat.txt16 state transitions such as guest mode entry and exit.
18 This tool is useful for observing guest behavior from the host perspective.
40 *g*:: filter by guest name/PID
46 *p*:: filter by guest name/PID
87 -g<guest>::
88 --guest=<guest_name>::
89 limit statistics to one virtual machine (guest name)
Dkvm_stat1388 guest = self.screen.getstr().decode(ENCODING)
1392 if not guest or guest == '0':
1394 if guest.isdigit():
1395 if not self._is_running_guest(guest):
1396 msg = '"' + guest + '": Not a running process'
1398 pid = int(guest)
1402 pids = self.get_pid_from_gname(guest)
1404 msg = '"' + guest + '": Internal error while searching, ' \
1408 msg = '"' + guest + '": Not an active guest'
1411 msg = '"' + guest + '": Multiple matches found, use pid ' \
/tools/virtio/virtio-trace/
DREADME4 Trace agent is a user tool for sending trace data of a guest to a Host in low
48 For example, if a guest use three CPUs, the names are
83 example, if a guest use three CPUs, chardev names should be trace-path-cpu0,
86 3) Boot the guest
87 You can find some chardev in /dev/virtio-ports/ in the guest.
93 0) Build trace agent in a guest
96 1) Enable ftrace in the guest
100 2) Run trace agent in the guest
104 option, trace data are output via stdout in the guest.
109 the guest will stop by specification of chardev in QEMU. This blocking mode may
[all …]
/tools/testing/ktest/examples/
DREADME19 kvm.conf - A example of a config that is used to test a virtual guest running
/tools/testing/selftests/rcutorture/doc/
Drcu-test-image.txt2 that contains the filesystem used by the guest-OS kernel. There are
/tools/
DMakefile66 cgroup firewire hv guest spi usb virtio vm bpf iio gpio objtool leds wmi pci firmware debugging: FO… target
/tools/perf/
Ddesign.txt226 to request counting of events restricted to guest and host contexts when
/tools/perf/util/
Devsel.c424 MOD_PRINT(guest, 'G'); in perf_evsel__add_modifiers()