linux-stable/tools/virtio/ringtest
Zhu Jun a8927f69e8 tools/virtio:Fix the wrong format specifier
The unsigned int should use "%u" instead of "%d".

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Message-Id: <20240724074108.9530-1-zhujun2@cmss.chinamobile.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
2024-09-10 02:51:48 -04:00
..
.gitignore tools/virtio: Add .gitignore for ringtest 2023-06-08 15:43:08 -04:00
main.c tools/virtio:Fix the wrong format specifier 2024-09-10 02:51:48 -04:00
main.h tools/virtio: Fix arm64 ringtest compilation error 2023-06-08 15:43:08 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
noring.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ptr_ring.c tools/virtio/ringtest: Remove bogus definition of BUG_ON() 2019-05-12 13:11:35 -04:00
README tools/virtio/ringtest: add usage example to README 2016-06-06 13:00:11 +03:00
ring.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
run-on-all.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio_ring_0_9.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
virtio_ring_inorder.c virtio: add inorder option 2016-05-22 19:44:12 +03:00
virtio_ring_poll.c tools/virtio: add ringtest utilities 2016-01-26 10:18:30 +02:00

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