summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Group the "Merge Command" related options visuallyBenny Baumann2020-11-241-2/+2
| |
* | Refactor command string creationBenny Baumann2020-11-242-76/+118
| | | | | | | | Hopefully this patch makes it a bit more approachable how it's done.
* | Make kernel thread display for COMM/EXE columns less visible and more consistentBenny Baumann2020-11-241-4/+4
| |
* | Minor indentation fixBenny Baumann2020-11-241-1/+1
| |
* | Reduce visual noise to when comm and cmdline actually disagree on the ↵Benny Baumann2020-11-241-4/+9
| | | | | | | | program basename
* | Assume full basename matches COMM when matching full COMM bufferNarendran Gopalakrishnan2020-11-241-2/+1
| |
* | Include merge status with column title when enabledNarendran Gopalakrishnan2020-11-241-4/+5
| |
* | Cleanup some documentationNarendran Gopalakrishnan2020-11-242-2/+2
| |
* | Add heuristic for space-separated cmdlineBenny Baumann2020-11-241-5/+91
| |
* | Compatibility function for faccessatBenny Baumann2020-11-244-1/+43
| |
* | Improving Command display/sortNarendran Gopalakrishnan2020-11-2418-16/+593
| |
* | LinuxProcess_adjustTime: simplify by not using doubleChristian Göttsche2020-11-241-8/+6
| | | | | | | | Does not work with -ffast-math else.
* | Move treeView setting to make status bar item correct when using --sort-key, ↵Daniel Lange2020-11-241-5/+5
| | | | | | | | | | | | patch from @cgzones Closes #340
* | LinuxProcessList: fix misspellingChristian Göttsche2020-11-241-1/+1
| |
* | DarwinProcessList: retry getting list of all processes on ENOMEMChristian Göttsche2020-11-231-17/+15
| | | | | | | | | | | | | | | | | | | | | | The process count might change between the two sysctl() calls getting the size and getting the data. Retry (3 times) in case the data-retrieval sysctl() call fails with ENOMEM. see http://mirror.informatimago.com/next/developer.apple.com/qa/qa2001/qa1123.html Related: #118
* | Linux: fix display of new thread for one cycle when hiddenChristian Göttsche2020-11-231-2/+3
|/
* Merge branch 'cleanup-init-done' into masterNathan Scott2020-11-2315-86/+158
|\
| * Consistent ordering of function declarations for FreeBSDNathan Scott2020-11-231-2/+2
| |
| * Add whitespace to improve Linux Platform_init readabilityNathan Scott2020-11-191-0/+1
| |
| * Minor cleanups to platform-specific init and doneNathan Scott2020-11-1915-85/+156
| | | | | | | | | | | | | | Move platform-specific code out of the htop.c main function and into the platform sub-directories - primarily this is the Linux procfs path check and sensors setup/teardown; not needed on any other platforms. No functional changes here.
* | LinuxProcessList: skip parsing threads if the kind of thread is disabledChristian Göttsche2020-11-221-2/+23
| |
* | Reduce scope of cached valuesBenny Baumann2020-11-222-7/+10
| |
* | Object: assert callbacks existsChristian Göttsche2020-11-221-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improves stacktraces. Current stacktrace: ./htop(backtrace+0x5b)[0x45d98b] ./htop(CRT_handleSIGSEGV+0x189)[0x4eb5e9] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7fbbfb1ea140] New: ./htop(backtrace+0x5b)[0x45d98b] ./htop(CRT_handleSIGSEGV+0x189)[0x4eb7f9] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7f62b0a65140] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x141)[0x7f62b089ac41] /lib/x86_64-linux-gnu/libc.so.6(abort+0x123)[0x7f62b0884537] /lib/x86_64-linux-gnu/libc.so.6(+0x2540f)[0x7f62b088440f] /lib/x86_64-linux-gnu/libc.so.6(+0x345c2)[0x7f62b08935c2] ./htop(Vector_delete+0x873)[0x54b303] ./htop(Panel_done+0x7b)[0x51abbb] ./htop[0x4ed8ee] ./htop(Vector_delete+0x414)[0x54aea4] ./htop(ScreenManager_delete+0x37)[0x536ea7] ./htop[0x4d9d1a] ./htop[0x4d5516] ./htop[0x5078d7] ./htop(ScreenManager_run+0x69f)[0x5388bf] ./htop(main+0x7c6)[0x4fcf76] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f62b0885cca] ./htop(_start+0x2a)[0x42688a]
* | Reduce scope of local variablesBenny Baumann2020-11-224-16/+10
| |
* | Simplify code flow by inlining declarations where they are usedBenny Baumann2020-11-221-14/+7
| | | | | | | | Note that xStrdup always returns non-NULL, thus the one error case cannot be reached.
* | No need to check for change when no action is requiredBenny Baumann2020-11-222-7/+4
| |
* | Reduce scope of totaltimeBenny Baumann2020-11-221-5/+6
| |
* | Fix NULL pointer dereference on kstat_lookup failureBenny Baumann2020-11-221-14/+12
| |
* | Fix build for custom make targetsBenny Baumann2020-11-211-3/+3
| |
* | Simplify page size related calculationsChristian Göttsche2020-11-212-2/+2
| |
* | Rename virtual memory column from M_SIZE to M_VIRTChristian Göttsche2020-11-2122-29/+29
| | | | | | | | Closes: #325
* | LinuxProcess: mark LinuxProcess_printDelay staticChristian Göttsche2020-11-212-5/+1
| |
* | fix indentChristian Göttsche2020-11-211-1/+1
| |
* | Remove unnecessary parensBenny Baumann2020-11-211-1/+1
| |
* | IWYU update (FreeBSD)Christian Goettsche2020-11-1914-52/+63
| |
* | IWYU update (Linux)Christian Göttsche2020-11-1918-31/+48
|/
* Add missing OpenBSD battery function declarationNathan Scott2020-11-191-0/+2
|
* Spelling correctionsChristian Göttsche2020-11-182-5/+5
|
* Align command line argument descriptions in help outputChristian Göttsche2020-11-181-11/+10
| | | | Also drop #link comment
* Merge individual Battery.[ch] files into Platform.[ch]Nathan Scott2020-11-182-7/+6
| | | | | Small changes from review - keep headers sorted and keep local variable declarations at the top of source files.
* Merge individual Battery.[ch] files into Platform.[ch]Nathan Scott2020-11-1829-693/+515
| | | | | Consistent with everything else involving platform-specific calls from core htop code.
* DarwinProcessList: mark local functions static and sort includesChristian Göttsche2020-11-172-39/+22
|
* DarwinProcess: mark local function static and sort includesChristian Göttsche2020-11-172-12/+10
|
* Use 0 as no-match value for sortkeyChristian Göttsche2020-11-171-2/+2
| | | | | Field numbers start at 1, and using -1 as no-match special value triggers static analyzers using a potential negative array access.
* Silence theoretical memory leakChristian Göttsche2020-11-171-1/+3
| | | | In practice systemctl should never return multiple SystemState= lines.
* Merge branch 'temperature_v2' of cgzones/htopDaniel Lange2020-11-1719-23/+220
|\ | | | | | | | | Closes #111, closes #49 Closes #93 - thank you for leading the way @DX37 (Maxim Kurnosenko)!
| * Show CPU temperature in CPU meterChristian Göttsche2020-11-1619-23/+220
| | | | | | | | | | Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter.
* | Avoid calling Object_isA from inside Vector_isConsistentBenny Baumann2020-11-173-11/+8
| |
* | Hashtable: use dynamic growth and use primes as sizeChristian Göttsche2020-11-173-73/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | Dynamically increase the hashmap size to not exceed the load factor and avoid too long chains. Switch from Separate Chaining to Robin Hood linear probing to improve cache locality. Use primes as size to further avoid collisions. E.g. on a standard kde system the number of entries in the ProcessTable might be around 650.
* | Hashtable updateChristian Göttsche2020-11-175-29/+31
| | | | | | | | | | | | - use consistent type for key by introducing a new typedef - use unsigned types for sizes - name parameters in foreach function typedef

© 2014-2024 Faster IT GmbH | imprint | privacy policy