diff options
author | Dongli Zhang <dongli.zhang@oracle.com> | 2025-04-02 23:29:50 -0700 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-05-18 17:25:24 -0400 |
commit | e5e6b15b0dadfce456dbd04d2ab564be4d939f6f (patch) | |
tree | cf4ea5bcc04640736072c93ad94d0b38a9c5002b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 41cff026cff53a661ab5483aa20e549943dee115 (diff) |
vhost-scsi: adjust vhost_scsi_get_desc() to log vring descriptors
Adjust vhost_scsi_get_desc() to facilitate logging of vring descriptors.
Add new arguments to allow passing the log buffer and length to
vhost_get_vq_desc().
In addition, reset 'log_num' since vhost_get_vq_desc() may reset it only
after certain condition checks.
Suggested-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Message-Id: <20250403063028.16045-6-dongli.zhang@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions