aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2018-11-04fix blowfish bench sort orderBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04benchmark/blowfish: new version of blowfish benchmarkBurt P
The new version uses a fixed time and provides variants for single-thread, multi-thread, and multi-core. A few results are included. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04params: html_ok -> markup_okBurt P
The html_ok param added in 970174b0897d40b804808632784ffa1544d9da93 is misleading. It turns out that it is not HTML, but Pango Markup that is used by GTK, and a subset of that happens to also work as HTML4 for the HTML report generation. This change renames html_ok to markup_ok in ProgramParameters and adds a comment explaining what common set of tags may be used. Also, if report generation happens as a fallback after GUI initialization failed, then also disable markup, unless report will be generated as HTML. Pango markup info at: https://developer.gnome.org/pango/stable/PangoMarkupFormat.html Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04devices: also ignore duplicate versionBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04dmi: show ignored values with strikethroughBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04vendor.c: remove duplicate code, use vendor_match(), make *_name() result ↵Burt P
consistent Following the old behavior of returning the passed-in string if not found. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04devices: get_motherboard(), shorten vendor if possibleBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04devices: get_motherboard() fixesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04devices: get_motherboard() refinementsBurt P
As discussed in #289: "Maybe instead of falling back separately it could try for the best from the board group and the best from the product/system group and always give <board> (<system>), perhaps with any duplicates removed." Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04devices: Remove product-version from string returned by getMotherboard()Burt P
This reverts a change 2db563687071c099851c59396bdde29a00dba156. It seems to me that using product version in this way gives inconsistent values. The recent benchmark result submitted demonstrates the problem: `2.0 / X370 SLI PLUS (MS-7A33) (Micro-Star International Co., Ltd.)` The product version `2.0` is put in front, but without the product name or product vendor for context, it doesn't really add anything. The board vendor, which otherwise would be in front, is now in () at the end. When the product version is not defined, then the motherboard is reported as `<board vendor> <board name>`. The only time it is `<board name> (<board vendor>)` is when product version is defined. If this change is applied, that same motherboard would be reported `Micro-Star International Co., Ltd. X370 SLI PLUS (MS-7A33)` which, to me, makes more sense for getMotherboard(). I have no idea what "product" this is version 2.0 of. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04benchmark/report: sort results for report, limit rangeBurt P
For generated reports, the benchmark results are now sorted. Also, only the (10) nearest results are included to avoid output clutter. Perhaps the number could be set in a hardinfo parameter. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04devicetree: include details for "Summary" in reportsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04arm/x86: include package info details in reportsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04devices/sensors: bug fix - read_sensor_labels never gets calledOndrej Čerman
2018-11-03devices/sensors - hwmon: Added support for sysfs labelsOndrej Čerman
2018-10-22x86: add mfgr and part to memory socket infoBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
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>