summaryrefslogtreecommitdiffstats
path: root/freebsd
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'header_pause' of cgzones/htopDaniel Lange2020-10-202-2/+6
|\ | | | | | | Continue to update generic data in paused mode
| * Continue to update generic data in paused modeChristian Göttsche2020-10-192-2/+6
| | | | | | | | | | | | | | | | | | Generic data, as CPU and memory usage, are used by Meters. In paused mode they would stop receiving updates and especially Graph Meters would stop showing continuous data. Improves: #214 Closes: #253
* | Cache PAGE_SIZEChristian Göttsche2020-10-191-4/+5
|/ | | | | | man:sysconf(3) states: The values obtained from these functions are system configuration constants. They do not change during the lifetime of a process.
* Make all required includes explicitBenny Baumann2020-10-183-13/+30
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Add NetworkIOMeterChristian Göttsche2020-10-162-0/+56
|
* Refactor generating starttime string into Process classChristian Göttsche2020-10-161-7/+1
|
* Mark remaining classes constChristian Göttsche2020-10-132-2/+2
|
* Centralise fault handlingBenny Baumann2020-10-122-35/+0
| | | | This should be done as all platforms essentially did the same anyway and there was nothing platform specific.
* Mark process argument of Process_isThread constChristian Göttsche2020-10-092-3/+3
|
* Some more locations for ARRAYSIZEBenny Baumann2020-10-082-2/+4
|
* Mark Object instances constChristian Göttsche2020-10-072-2/+2
|
* Mark Object classes and Object class fields constChristian Göttsche2020-10-071-2/+2
|
* Enable -Wcast-qual compiler warningChristian Göttsche2020-10-062-6/+9
|
* Merge branch 'update-license-and-copyright-info'Nathan Scott2020-10-0610-10/+10
|\
| * Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-0510-10/+10
| |
* | Add a date and datetime meter (#159)Michael F. Schönitzer2020-10-051-0/+4
|/ | | | | | Add a date meter and sort header and source files in Makefile Change the lists of header and source files sorted alphabetical and one file per line. This way diffs become better readable and merges easier.
* Merge branch 'attr-nonnull' of https://github.com/BenBE/htop into ↵Nathan Scott2020-10-051-1/+1
|\ | | | | | | BenBE-attr-nonnull
| * Fix FreeBSD compile issueBenny Baumann2020-09-291-1/+1
| | | | | | | | This issue was previously hidden as xSnprintf expanded to only one large command that didn't trigger the GCC formatting check.
* | Add DiskIOMeter for IO read/write usageChristian Göttsche2020-10-032-0/+7
|/
* CPUMeter: add octuple-column CPU meters.multi2020-09-281-0/+3
| | | | | | | This is a straightforward extension of the existing multi-column CPU meter code, which now allows for up CPU meters to be displayed in up to 16 columns. This also adds the meter declarations to all the platform-specific code.
* Add missing 4-column CPU meters to non-Linux platforms.multi2020-09-281-0/+3
|
* Add -Wmissing-prototypes compiler warningChristian Göttsche2020-09-252-1/+4
|
* Update CPU freq display to use NAN on errorBenny Baumann2020-09-241-1/+1
|
* Update battery API to use NAN on errorBenny Baumann2020-09-241-1/+2
|
* Fail travis CI on compiler warningsChristian Göttsche2020-09-181-7/+10
|
* Resolve unused variable on FreeBSDChristian Göttsche2020-09-182-2/+2
|
* Mark noreturn functionsChristian Göttsche2020-09-182-3/+6
|
* Use strict function prototypesChristian Göttsche2020-09-181-2/+2
| | | | int foo(); declares a function taking any number of arguments.
* Switch variable/field naming from WhiteList to MatchListNathan Scott2020-09-092-3/+3
|
* Consolidate repeated macro definitions into one headerNathan Scott2020-09-093-9/+1
| | | | | | | | The MIN, MAX, CLAMP, MINIMUM, and MAXIMUM macros appear throughout the codebase with many re-definitions. Make a single copy of each in a common header file, and use the BSD variants of MINIMUM/MAXIMUM due to conflicts in the system <sys/param.h> headers.
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-084-15/+1
| | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed.
* Remove duplicate jail_errmsg declaration.Zev Weiss2020-09-031-3/+0
| | | | Fixes: 11ecc65ebb1527e9a83f67bb5ac0dec455cb03e6
* Remove superfluous 'extern's from function declarations.Zev Weiss2020-09-031-5/+5
| | | | | | | | Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
* Axe automated header generation.Zev Weiss2020-09-038-92/+0
| | | | | | | | | | | | | | Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
* Unbreak with -fno-common on FreeBSDTobias Kortkamp2020-09-032-7/+10
| | | | | | | | | | | | GCC10 and Clang11 now default to -fno-common. ld: error: duplicate symbol: jail_errmsg >>> defined at Platform.c >>> freebsd/Platform.o:(jail_errmsg) >>> defined at FreeBSDProcessList.c >>> freebsd/FreeBSDProcessList.o:(.bss+0x90) Signed-off-by: Tobias Kortkamp <t@tobik.me>
* Merge branch 'patch-1' of https://github.com/ginggs/htop-1 into ginggs-patch-1Daniel Lange2020-08-221-11/+0
|\
| * Fix build on FreeBSDGraham Inggs2020-08-211-11/+0
| |
* | Remove trailing whitespacesChristian Göttsche2020-08-211-1/+0
|/
* Merge branch 'hishamhm-pull-920'3.0.0rc1Nathan Scott2020-08-204-17/+36
|\
| * Support for ZFS Compressed ARC statisticsRoss Williams2019-09-032-0/+10
| |
| * Refactor openzfs_sysctl_init() and ZfsArcMeter...Ross Williams2019-09-032-13/+2
| | | | | | | | | | | | | | | | | | | | | | openzfs_sysctl_init() now returns void instead of int. The ZfsArcStats->enabled flag is set inside the init function now, instead of having to be set from its return value. Preparation for more flag setting in Compressed ARC commit. ZfsArcMeter_readStats() added and all Meter->values[] setting moved to it, eliminating duplicated code in {darwin,freebsd,linux,solaris}/Platform.c.
| * Refactor common OpenZFS sysctl accessRoss Williams2019-07-073-83/+22
| | | | | | | | | | Darwin and FreeBSD export zfs kstats through the same APIs, so moving functions into a common file.
| * Support ZFS ARC stats on FreeBSDRoss Williams2019-07-074-2/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New meter displays same ARC stats as FreeBSD top(1). Can be extended to other platforms that support ZFS. Pulling kstat.zfs.misc.arcstats.c_max as the meter total, so the meter has a meaningful value to work up to. The Text meter displays, first, the maximum ARC size (Meter.total), then second, the total ARC used, using the difference between Meter.maxItems and Meter.curItems to "hide" the used value from the Bar and Graph drawing functions by using an index in Meter.values[] that is beyond curItems - 1, but less than maxItems - 1.
| * Specify correct MIB lengthRoss Williams2019-07-061-1/+1
| | | | | | | | | | Could have resulted in a buffer overflow if the FreeBSD kernel returned more bytes than expected.
* | Merge branch 'hishamhm-pull-932'Nathan Scott2020-08-201-0/+3
|\ \
| * | Show N/A on unsupported platforms instead of 0KHzArnavion2019-08-101-0/+3
| |/
* | Merge branch 'hishamhm-pull-974'Nathan Scott2020-08-201-0/+8
|\ \
| * | Fix STARTTIME column on FreeBSD.Robert Crowston2019-12-311-0/+8
| |/
* | Merge branch 'hishamhm-pull-904'Nathan Scott2020-08-201-1/+1
|\ \
| * | Truncate overwide jail names on BSD.Robert Crowston2019-04-171-1/+1
| |/

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