Age | Commit message (Collapse) | Author |
|
* PROC_CPUINFO define used in testing
* STRIFNULL(), UNKIFNULL() EMPIFNULL() macros used in
reading cpuinfo
* byte order, topology, and cpufreq data structures and
functions that are platform independent
* processor_has_flag() helper
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
It really didn't work at all before.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Also, fixes a bug found in testing.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Removes some symlinks x86_64 -> x86.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
FPU is listed in capabilities.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
It was broken into smaller pieces by earlier commits.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Additional labels made translatable and some cleanup.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Make some recently added info labels easy to translate. Includes
the topology and frequency scaling strings.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
|
|
|
|
No need to invoke the shell using popen(), and have it redirect
output from stderr to stdout in the diet libc case. This also
hides possible errors during detection.
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
diet libc outputs usage/version to stderr.
Function is also a little cleaner now.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Demonstrate how a libc implementation without ldconfig might work.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Based on a patch from Ubuntu/Debian.
|
|
Based on the recent ARM work.
* Shows multiple processors, like x86 and ARM
* topology: physical package and core ids
* cpufreq: min/max/cur frequency and driver info
Tested against /proc/cpuinfos from a PowerMac G5 and the
Talos POWER8 workstation. Not tested on actual hardware.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Writing this I realized why I stopped working on HardInfo. While
there are some good ideas in the architecture, it's API is beyond
salvation. It's buggy, quirky, and not intuitive at all.
|
|
This is a step in adding sensor graphing support.
|
|
|
|
|
|
|
|
Hide Frequency Scaling section instead of showing zeroes.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Copied from the recent changes for ARM.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Also, some stray whitespace removed.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* mixed tab/space indentation -> spaces only
* move cache/family/freq/flags list processing out of main
read loop and make a second pass through the processor list
* make simple pm list if it isn't provided
* use processor id from cpuinfo instead of counter
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Use /sys/.../cpufreq/ data if available.
Processor max frequency is now used for cpu_mhz.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Use own _g_strv_contains().
Signed-off-by: Burt P <pburt0@gmail.com>
|