perf: rename qemuDomainGetStatsPerfRdt()

This patch rename qemuDomainGetStatsPerfRdt() to
qemuDomainGetStatsPerfOneEvent()

Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
This commit is contained in:
Qiaowei Ren 2016-07-16 16:15:10 +08:00 committed by John Ferlan
parent c62e79c8ca
commit f52b24d837

View File

@ -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;
} }