diff --git a/drivers/rptun/rptun_dump.c b/drivers/rptun/rptun_dump.c index 7e7f0a9440..aee87fb41c 100644 --- a/drivers/rptun/rptun_dump.c +++ b/drivers/rptun/rptun_dump.c @@ -106,9 +106,15 @@ void rptun_dump(FAR struct rpmsg_virtio_device *rvdev) } metal_log(METAL_LOG_EMERGENCY, - "Dump rpmsg info between cpu %s <==> %s:\n", + "Dump rpmsg info between cpu (master: %s)%s <==> %s:\n", + rpmsg_virtio_get_role(rvdev) == RPMSG_MASTER ? "yes" : "no", CONFIG_RPTUN_LOCAL_CPUNAME, rpmsg_get_cpuname(rdev)); + metal_log(METAL_LOG_EMERGENCY, "rpmsg vq RX:\n"); + virtqueue_dump(rvdev->rvq); + metal_log(METAL_LOG_EMERGENCY, "rpmsg vq TX:\n"); + virtqueue_dump(rvdev->svq); + metal_log(METAL_LOG_EMERGENCY, " rpmsg ept list:\n"); metal_list_for_each(&rdev->endpoints, node)