Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:xen-4.17
libvirt-7.0.0
libvirt.perf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libvirt.perf.patch of Package libvirt-7.0.0
From: Olaf Hering <olaf@aepfle.de> Date: Wed, 21 Feb 2018 10:03:47 +0000 Subject: perf --- src/util/virperf.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/src/util/virperf.c +++ b/src/util/virperf.c @@ -67,24 +67,30 @@ struct _virPerf { struct virPerfEvent events[VIR_PERF_EVENT_LAST]; }; #if defined(__linux__) && defined(HAVE_SYS_SYSCALL_H) # include <linux/perf_event.h> struct virPerfEventAttr { unsigned int attrType; unsigned long long attrConfig; }; +#ifndef PERF_ATTR_SIZE_VER2 +#define PERF_COUNT_HW_STALLED_CYCLES_FRONTEND 7 +#define PERF_COUNT_HW_STALLED_CYCLES_BACKEND 8 +#define PERF_COUNT_HW_REF_CPU_CYCLES 9 +#endif + static struct virPerfEventAttr attrs[] = { [VIR_PERF_EVENT_CMT] = { .attrType = 0, .attrConfig = 1 }, [VIR_PERF_EVENT_MBMT] = { .attrType = 0, .attrConfig = 2 }, [VIR_PERF_EVENT_MBML] = { .attrType = 0, .attrConfig = 3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor