2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-07 21:24:00 +08:00
linux-next/tools/virtio/ringtest
Mike Rapoport ef1b144d23 tools/virtio/ringtest: fix run-on-all.sh to work without /dev/cpu
/dev/cpu is only available on x86 with certain modules (e.g. msr) enabled.
Using lscpu to get processors count is more portable.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-06-06 13:00:11 +03:00
..
main.c ringtest: pass buf != NULL 2016-05-22 19:44:14 +03:00
main.h
Makefile virtio: add inorder option 2016-05-22 19:44:12 +03:00
README tools/virtio/ringtest: add usage example to README 2016-06-06 13:00:11 +03:00
ring.c
run-on-all.sh tools/virtio/ringtest: fix run-on-all.sh to work without /dev/cpu 2016-06-06 13:00:11 +03:00
virtio_ring_0_9.c virtio: add inorder option 2016-05-22 19:44:12 +03:00
virtio_ring_inorder.c virtio: add inorder option 2016-05-22 19:44:12 +03:00
virtio_ring_poll.c

Partial implementation of various ring layouts, useful to tune virtio design.
Uses shared memory heavily.

Typical use:

# sh run-on-all.sh perf stat -r 10 --log-fd 1 -- ./ring