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,10 +19256,10 @@ 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)
|
||||||
{
|
{
|
||||||
char param_name[VIR_TYPED_PARAM_FIELD_LENGTH];
|
char param_name[VIR_TYPED_PARAM_FIELD_LENGTH];
|
||||||
uint64_t value = 0;
|
uint64_t value = 0;
|
||||||
@ -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