summaryrefslogtreecommitdiffstats
path: root/src/hardware/sysfs.h
Commit message (Collapse)AuthorAgeFilesLines
* Hardware: Better support for multi CPU systems and kvm guests.Peter Schiffer2013-05-071-0/+2
| | | | | | | | | | | | | | Changes: * Fixed problem when CPU ID from dmidecode is not unique * Use cache info from sysfs if dmi cpu info is available, but not dmi cache * When using sysfs cache, create all caches for every CPU * Fixed physical memory tag when serial number field is missing in dmidecode output * Tiny clean-up Hardware provider was tested in kvm guest with pegasus and this patch is result of the test. Now, thanks to the all fallback options, hardware provider works fine in this environment with and without selinux enabled.
* Hardware: Added additional information to the Memory providerPeter Schiffer2013-04-301-1/+35
| | | | | | | | Added information: * detect NUMA layout * standard memory page size * all supported sizes of huge memory pages * current state of transparent huge pages
* Support for using libopenlmicommon by external providersRadek Novacek2013-04-171-1/+0
| | | | | | | | | * add FindOpenLMI.cmake module * add pkgconfig for OpenLMI * add openlmi.c/h with exported functions * add symlink with major version to openlmicommon library Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=948948
* Hardware: Added Processor Cache Memory ProviderPeter Schiffer2013-04-041-0/+64
New Providers: * LMI_ProcessorCacheMemoryProvider * LMI_AssociatedProcessorCacheMemoryProvider Other Changes: * Optimized usage of string constats * Fixed wrong usage of pointers in dmidecode.c * Filled unknown mandatory fields in providers with "Unknown" value * Replaced hard coded numbers with LMI constants * Minor optimization - don't gather data which won't be used