mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 23:25:24 +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
|
#undef QEMU_ADD_COUNT_PARAM
|
||||||
|
|
||||||
static int
|
static int
|
||||||
qemuDomainGetStatsPerfRdt(virPerfPtr perf,
|
qemuDomainGetStatsPerfOneEvent(virPerfPtr perf,
|
||||||
virPerfEventType type,
|
virPerfEventType type,
|
||||||
virDomainStatsRecordPtr record,
|
virDomainStatsRecordPtr record,
|
||||||
int *maxparams)
|
int *maxparams)
|
||||||
@ -19299,7 +19299,8 @@ qemuDomainGetStatsPerf(virQEMUDriverPtr driver ATTRIBUTE_UNUSED,
|
|||||||
case VIR_PERF_EVENT_CMT:
|
case VIR_PERF_EVENT_CMT:
|
||||||
case VIR_PERF_EVENT_MBMT:
|
case VIR_PERF_EVENT_MBMT:
|
||||||
case VIR_PERF_EVENT_MBML:
|
case VIR_PERF_EVENT_MBML:
|
||||||
if (qemuDomainGetStatsPerfRdt(priv->perf, i, record, maxparams) < 0)
|
if (qemuDomainGetStatsPerfOneEvent(priv->perf, i, record,
|
||||||
|
maxparams) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user