mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 15:15:25 +00:00
perf: rename qemuDomainGetStatsPerfRdt()
This patch rename qemuDomainGetStatsPerfRdt() to qemuDomainGetStatsPerfOneEvent() Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
This commit is contained in:
parent
c62e79c8ca
commit
f52b24d837
@ -19256,7 +19256,7 @@ qemuDomainGetStatsBlock(virQEMUDriverPtr driver,
|
||||
#undef QEMU_ADD_COUNT_PARAM
|
||||
|
||||
static int
|
||||
qemuDomainGetStatsPerfRdt(virPerfPtr perf,
|
||||
qemuDomainGetStatsPerfOneEvent(virPerfPtr perf,
|
||||
virPerfEventType type,
|
||||
virDomainStatsRecordPtr record,
|
||||
int *maxparams)
|
||||
@ -19299,7 +19299,8 @@ qemuDomainGetStatsPerf(virQEMUDriverPtr driver ATTRIBUTE_UNUSED,
|
||||
case VIR_PERF_EVENT_CMT:
|
||||
case VIR_PERF_EVENT_MBMT:
|
||||
case VIR_PERF_EVENT_MBML:
|
||||
if (qemuDomainGetStatsPerfRdt(priv->perf, i, record, maxparams) < 0)
|
||||
if (qemuDomainGetStatsPerfOneEvent(priv->perf, i, record,
|
||||
maxparams) < 0)
|
||||
goto cleanup;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user