summaryrefslogtreecommitdiffstats
path: root/src/hardware/lscpu.c
Commit message (Collapse)AuthorAgeFilesLines
* Hardware: Code clean upPeter Schiffer2013-04-081-3/+1
| | | | | | * Got rid of asprintf() where suitable (used static memory instead) * Removed if conditional before free() * Replaced more hard coded numbers with LMI constants
* Hardware: added new providersPeter Schiffer2013-03-261-1/+10
| | | | | | Providers added: * LMI_ProcessorCapabilitiesProvider * LMI_ProcessorElementCapabilitiesProvider
* Created LMI_ProcessorProvider providing basic information about CPU. Main sourcePeter Schiffer2013-03-061-0/+151
of information is dmidecode program, with additional information from lscpu program and /proc/cpuinfo file. If no output from dmidecode program is available, fallback with only lscpu and /proc/cpuinfo is used.