Commit 9730c832 authored by Daniel P. Berrange's avatar Daniel P. Berrange

Revert "Add support for perf cache_l1d event"

This reverts commit 73c68e67.

The corresponding libvirt public API was reverted
parent 73c68e67
......@@ -2253,8 +2253,6 @@ type DomainStatsPerf struct {
StalledCyclesBackend uint64
RefCpuCyclesSet bool
RefCpuCycles uint64
CacheL1DSet bool
CacheL1D uint64
}
func getDomainStatsPerfFieldInfo(params *DomainStatsPerf) map[string]typedParamsFieldInfo {
......@@ -2311,10 +2309,6 @@ func getDomainStatsPerfFieldInfo(params *DomainStatsPerf) map[string]typedParams
set: &params.RefCpuCyclesSet,
ul: &params.RefCpuCycles,
},
"perf.cache_l1d": typedParamsFieldInfo{
set: &params.CacheL1DSet,
ul: &params.CacheL1D,
},
}
}
......
......@@ -3183,8 +3183,6 @@ type DomainPerfEvents struct {
StalledCyclesBackend bool
RefCpuCyclesSet bool
RefCpuCycles bool
CacheL1DSet bool
CacheL1D bool
}
/* Remember to also update DomainStatsPerf in connect.go when adding to the stuct above */
......@@ -3243,10 +3241,6 @@ func getDomainPerfEventsFieldInfo(params *DomainPerfEvents) map[string]typedPara
set: &params.RefCpuCyclesSet,
b: &params.RefCpuCycles,
},
C.VIR_PERF_PARAM_CACHE_L1D: typedParamsFieldInfo{
set: &params.CacheL1DSet,
b: &params.CacheL1D,
},
}
}
......
......@@ -45,10 +45,6 @@
#define VIR_PERF_PARAM_REF_CPU_CYCLES "ref_cpu_cycles"
#endif
#ifndef VIR_PERF_PARAM_CACHE_L1D
#define VIR_PERF_PARAM_CACHE_L1D "cache_l1d"
#endif
#ifndef VIR_DOMAIN_EVENT_ID_METADATA_CHANGE
#define VIR_DOMAIN_EVENT_ID_METADATA_CHANGE 23
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment