aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2019-08-14benches: simplify bench definition a bit moreBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14benches: fix titlesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14sysbench: try and work with version 0.xBurt P
formerly required 1.0.15. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14bench_results: escape strings in conf linesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14bench_results: add machine_data_versionBurt P
For now 0, but planned changes. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14benchmark: add sysbench cpuBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14Add wrapper for Alexey Kopytov's sysbench, memory benchmarksBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14Benchmark: fixes, user_note, verifiable test dataBurt P
* fix zlib display order * fix cryptohash MiB/s calculation * revision and params for other benchmarks * allow attaching user note to bench result with -u * don't inlcude the new result value bits if they are empty/invalid in bench_value_to_str(). bench_value_from_str() doesn't need to be modified. * bench_results: clean old result cpu name for x86 * use problem_marker() from dmi_memory to mark old version bench results * benchmark: verifiable test data size and content - The test data benchmark.data is stored in a file that could be edited to change the size or content. /* to guarantee size */ gchar *get_test_data(gsize min_size); /* to checksum content */ char *md5_digest_str(const char *data, unsigned int len); Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10Always pulse status bar while spawning processes synchronouslyLeandro Pereira
2019-08-10Merge pull request #437 from bp0/inputdevlinksLeandro A. F. Pereira
input devices fix vendor links
2019-08-10Merge branch 'master' into usb3Leandro A. F. Pereira
2019-08-10name cleanup for x86 model strings and intel pci device stringsBurt P
x86 CPU: * Remove (R), (TM), etc * AMD: remove redundant "X2 Dual Core", "X4 Quad Core", etc * Move vendor to front if not already * Remove speed, as the actual speed is usually right next to it * Remove "CPU", "APU", "Processor" to shorten * Compress space Intel GPU: * Remove (R) * Abbreviate "Generation": "Gen" * Remove "Processor", "Controller", and "Device" to shorten * Compress space Some examples: x86 CPU: 'AMD Turion(tm) 64 Mobile Technology ML-32' ---> 'AMD Turion 64 Mobile ML-32' 'Cyrix MediaGXtm MMXtm Enhanced' ---> 'Cyrix MediaGX MMX Enhanced' 'Transmeta(tm) Crusoe(tm) Processor TM5800' ---> 'Transmeta Crusoe TM5800' 'VIA Nano X2 L4350 @ 1.6+ GHz' ---> 'VIA Nano X2 L4350' 'AMD Athlon(tm) 64 X2 Dual-Core Processor TK-53' ---> 'AMD Athlon 64 X2 TK-53' 'Embedded AMD Opteron(tm) Processor 23KS EE' ---> 'AMD Embedded Opteron 23KS EE' 'Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz' ---> 'Intel Atom x5-Z8300' 'Intel(R) Pentium(R) III CPU - S 1400MHz' ---> 'Intel Pentium III - S' 'Dual Core AMD Opteron(tm) Processor 165' ---> 'AMD Dual Core Opteron 165' 'Genuine Intel(R) CPU T1350 @ 1.86GHz' ---> 'Intel T1350' 'AMD Phenom(tm) 9350e Quad-Core Processor' ---> 'AMD Phenom 9350e Quad-Core' Intel GPU: 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller' ---> 'Atom/Celeron/Pentium x5-E8000/J3xxx/N3xxx Integrated Graphics' '4th Generation Core Processor Family Integrated Graphics Controller' ---> '4th Gen Core Family Integrated Graphics' 'Mobile GM965/GL960 Integrated Graphics Controller (secondary)' ---> 'Mobile GM965/GL960 Integrated Graphics (secondary)' 'Mobile 915GM/GMS/910GML Express Graphics Controller' ---> 'Mobile 915GM/GMS/910GML Express Graphics' Also: Fix/replace the appf() and SEQ() that were peppered about. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10bug fix for ids file searchBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10auto_free: update with auto_free_on_exit(), use to free arm_ids_file in ↵Burt P
arm_data.c Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10arm: use arm.ids for implementer/part lookupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10arm/processor: add BCM2838Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10benchmark: make sure lookup key is uniqueBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10input devices fix vendor linksBurt P
Fix #435 https://github.com/lpereira/hardinfo/issues/435 Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-09usb: Added vendor link based on reported manufacturerOndrej Čerman
2019-08-04usb: added more propertiesOndrej Čerman
2019-07-29usb: added interface labelOndrej Čerman
2019-07-29usb: added info from sysfsOndrej Čerman
2019-07-29rpi4b 4gb version, make all mem values M(i)BBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29raspberry pi memory typesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29dmi_util: extended handle data typeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-14Fix buffer overflow in fbenchLeandro Pereira
2019-07-14Fix buffer overflow when performing parallel benchmarksLeandro Pereira
2019-07-12Show links for vendorsLeandro Pereira
2019-07-11info struct bug Fixes, add tagged update fieldsBurt P
* tag was always included even when it didn't need to be. Now only include it when tag specified, flagged, or includes an icon. This messed up the existing update fields system. * The update fields system has been changed to allow updating by tag instead of the translated label. By label still works, however. I think it would be best to switch to using tags in the future. * info_flatten() calls flatten_shell_param() after flatten_group() which could cause a field name or tag to be used after it was freed. Created special free functions to handle this after all is used. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-11rpi_data: Add Raspberry Pi 4B 1GB and 2GB versionsBurt P
Source: https://elinux.org/RPi_HardwareHistory Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10benchmark: add extra fields to result for revision and informationBurt P
* add an integer revision field * add an extra information string field * zlib benchmark: new revision[1] is 2, so that old results are obviously old, and now the zlib version string will be stored in extra information. [1] as of 6a8e19a14305079b03e45eeb0580a45104f300dd Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10devices/storage: small fixesOndrej Čerman
2019-07-10devices/storage: added partitions infoOndrej Čerman
2019-07-10ubuntu flavors: vanilla png -> svgBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10Use SVG for distro iconsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10UbuntuFlavor -> DistroFlavor: perhaps more easily used by non-ubuntu distrosBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10Add SVG icon support in report HTML and Xubuntu icon to demonstrateBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10computer/os: Ubuntu flavorsBurt P
See: https://github.com/lpereira/hardinfo/issues/404 Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-07computer/display.c: handle unknown session typeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-06Use optional parameters to info_field() to specify iconsLeandro Pereira
2019-07-06Fix compiler warnings in SPD decoderLeandro Pereira
2019-07-06Copy CPU vulnerability name to InfoFieldLeandro Pereira
Fixes #392
2019-07-06struct info: add field sort option to InfoGroupBurt P
Fields are sorted on flatten. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-06Memory devices: enable more warnings and cleanupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-06Memory devices: add iconsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-05devices/storage: fixed current mediaOndrej Čerman
2019-07-04Also consider "vulnerable" when looking at CPU vulnerabilitiesLeandro Pereira
2019-07-04Use DetailView for SHELL_VIEW_NORMAL and the more info displayLeandro Pereira
This change has been made mostly because we need more control in how things are displayed, and fighting GTK+ so that this is possible isn't going to cut it. For instance, it is now possible to display links -- albeit only external links at the moment, but internal links will be possible, allowing for instance for one to click in a kernel module dependency to know more about that particular module. Links will also be useful to go to the vendor website, and maybe other things (like web search for Vendor + Product ID) and whatnot. Eventually this will replace the summary view altogether. That code has a lot of drawbacks, including not being able to have its contents copied to the clipboard, appear in reports, or have auto-updating fields. It stays for now, but it will be gone before 0.6 is released. I had forgotten how messy this code is. One of the reasons I lost the interest in this project... I want to hack on a nicer code base but I also lack the strong motivation to write the shell from the scratch.
2019-07-04Use "debian" for Debian distrocodeLeandro Pereira
When parsing the -- now preferred -- os-release file, the distro ID is "Debian", which is lowercased.
2019-07-04Plug memory leak in dmi_socket_info()Leandro Pereira