mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +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
|
||||
|
||||
static int
|
||||
qemuDomainGetStatsPerfRdt(virPerfPtr perf,
|
||||
virPerfEventType type,
|
||||
virDomainStatsRecordPtr record,
|
||||
int *maxparams)
|
||||
qemuDomainGetStatsPerfOneEvent(virPerfPtr perf,
|
||||
virPerfEventType type,
|
||||
virDomainStatsRecordPtr record,
|
||||
int *maxparams)
|
||||
{
|
||||
char param_name[VIR_TYPED_PARAM_FIELD_LENGTH];
|
||||
uint64_t value = 0;
|
||||
@ -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