aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2018-10-22x86: add socket information from dmidecode, if availableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22arm: try device tree opp for cpu freqBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22devicetree: add oppv1 and clock-frequency to opp supportBurt P
I don't have any hardware to test, this is based only on the OPP kernel docs. https://www.kernel.org/doc/Documentation/devicetree/bindings/opp/opp.txt Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22devices/gpu: specify source of freq informationBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22gpu: show freq range, if availableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22devicetree: get opp-v2 freq range for gpu, if availableBurt P
* opp-v2 = operating-points-v2, frequency scaling information from device tree that can be used for cpu, gpu, etc. * adds helper function to get the opp-v2 range of frequencies for a node, dtr_get_opp_range() in dt_util.c * adds a freq range in opp-v2 property for a node in dt * reports a gpu's max clock frequency if avaiable via opp-v2 Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22don't use html in text-only outputBurt P
Fixes https://github.com/lpereira/hardinfo/issues/266 This is also needed so that vendor urls can be links where appropriate. Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-13Display status of ASLR in Computer->Operating SystemLeandro Pereira
2018-10-02bench_results: bug fix for cpus with mixed configBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-02arm: soc vendors amlogic and allwinnerBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-26gpu: show more dt infoBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-26devicetree: fix to remove gtk runtime warningBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-26arm/x86: clocks list empty when cpufreq is not availableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-23computer/languages: fix crash when no other locales installedBurt P
Fix a crash when `locale -va` returns empty. Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-08Free memory allocated with g_malloc() using g_free()Leandro Pereira
2018-09-08pci, gpu: fix for duplicate sections when not using EnglishBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-08x86: l1tf bug flag definitionBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-08arm: some rockchip cpu namesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-08arm: code fix, forgotten comma(s)Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-08computer.c: catch more SBCsBurt P
Firefly ROC-RK3328-CC and Firefly ROC-RK3399-PC Signed-off-by: Burt P <pburt0@gmail.com>
2018-06-15computer/languages.c: requested changesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-06-15languages.c: popen() -> g_spawn_command_line_sync(), capture stderrBurt P
I don't know if this would ever leak. Signed-off-by: Burt P <pburt0@gmail.com>
2018-06-03pci.c: fix memory leakBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-05-29x86: CPU bug flag for speculative store bypass attackBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-05-27devices/pci, devices/gpu: re-enable hardinfo's vendor functionsBurt P
Now that they are working better. Signed-off-by: Burt P <pburt0@gmail.com>
2018-05-27benchmark results: add gpu to resultsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-05-27Moving configuration files to user's configuration folderTotalCaesar659
Build the configuration file path using g_get_user_config_dir() instead of g_get_home_dir().
2018-05-25devices/gpu: add nvidia-specific sectionBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-05-18Fix compiler warnings generated with GCC 8Leandro Pereira
2018-05-16Parse /usr/lib/os-release while detecting distributionLeandro Pereira
2018-04-24devices/storage: remove file testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24devices/storage: try `lsscsi -c` if /proc/scsi/scsi is not foundBurt P
This is a hack to address #240. The storage scanner needs work. Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24devices/usb: remove old, apparently non-functional, scan methodsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24hardinfo: add cli option to skip benchmarksBurt P
If you just need the hardware report, this makes it so much faster. Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24computer/display: use x_util for display informationBurt P
This commit fixes: * #200 now using xrandr to get screen info instead of gdk, so it works from the cli * #27 opengl core and compatibility versions are both listed * #230 (by removing extension list) Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24[new] devices/gpu: graphics processorsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24devices/pci: replace old pci scanner with pci_util-based versionBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24rpi_data: show rcode of unknown piBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24rpi_data: add Raspberry Pi Model 3 B-PlusBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-03-17devices/usb: remove unnecessary incrementationBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-03-12usb: requested changesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-03-12usb_util.cBurt P
A set of functions for getting information for a single USB device, or a list of all devices. The only implemented method is using `lsusb`, which is slow. A method using sysfs would be much better. The existing sysfs and procfs methods in devices/usb.c do not appear to work, so it would have to be something new. devices/usb.c modified to use usb_util, but all the old code is still there. Signed-off-by: Burt P <pburt0@gmail.com>
2018-03-12benchmark.c: remove debug printf()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-03-12Do not use hardcoded path for iconLeandro Pereira
Use just the symbolic name "hardinfo", allowing for icon packs to provide alternative icons. Fixes #227
2018-02-27x86: free urefBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-02-27x86: fix for kernels that don't provide cache idBurt P
Use shared_cpu_list as a unique cache id, but only in the case that kernel-supplied cache id is not available. Signed-off-by: Burt P <pburt0@gmail.com>
2018-02-27x86,arm: cpu clocks list in package informationBurt P
Show actual clocks where cores or threads share a clock. Ex: x86 SMT each core has one clock shared by both threads. Ex: BCM2837 has one clock for all four cores. Signed-off-by: Burt P <pburt0@gmail.com>
2018-02-27Fix benchmark_parallel_for() to use correct number of threadsBurt P
If (end - start) / threads left a remainder, benchmark_parallel_for() would start an extra thread for the leftover elements. Now, it has the last thread process the few extra elements. Added a note: benchmark_parallel_for(): element [start] included, but [end] is excluded. callback(): expected to processes elements [start] through [end] inclusive. Signed-off-by: Burt P <pburt0@gmail.com>
2018-02-27bench_results: store complete bench_valueBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-02-27benchmarks: split individual test funcs out of benchmark.c frameworkBurt P
The idea here is to make adding/removing benchmark tests easier by having benchmark.c be the framework and all the functioned needed for individual benchmarks live in benches.c. Signed-off-by: Burt P <pburt0@gmail.com>