summaryrefslogtreecommitdiffstats
path: root/freebsd/FreeBSDProcess.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce Machine class for host-specific info (split from ProcessList)Nathan Scott2023-05-081-2/+2
| | | | | | | | | | | First stage in sanitizing the process list structure so that htop can support other types of lists too (cgroups, filesystems, ...), in the not-too-distant future. This introduces struct Machine for system-wide information while keeping process-list information in ProcessList (now much less). Next step is to propogate this separation into each platform, to match these core changes.
* FreeBSD: Add support for showing process emulationJessica Clarke2022-01-161-0/+1
| | | | | | | | | This displays the same output as ps's -o emul, which is the system call emulation environment, or ABI, in use. This will typically be FreeBSD ELF32 or ELF64, but can also be Linux ELF32 or Linux ELF64 when running Linux binaries under FreeBSD's Linuxulator binary compatibility layer. The column width of 16 is chosen to match KI_EMULNAMELEN's value of 16, most of which is normally used up as FreeBSD ELF32/64 is 13 characters.
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* Move kernel/userland thread handling to platform-independent implementationBenny Baumann2021-05-231-11/+0
|
* Rework TTY columnChristian Göttsche2021-04-141-5/+0
| | | | | | | | | | * Rename internal identifier from TTY_NR to just TTY * Unify column header on platforms * Use devname(3) on BSD derivate to show the actual terminal, simplifies current FreeBSD implementation. * Use 'unsigned long int' as id type, to fit dev_t on Linux. Only on Solaris the terminal path is not yet resolved.
* FreeBSD: simplify kernel thread logicChristian Göttsche2021-01-301-2/+2
|
* Merge Process_pidColumns into Process_fields and rework auto-fit for ↵Christian Göttsche2020-12-191-3/+1
| | | | PID-like columns
* Rework enum ProcessFieldChristian Göttsche2020-12-191-8/+1
| | | | | | Use only one enum instead of a global and a platform specific one. Drop Platform_numberOfFields global variable. Set known size of Process_fields array
* IWYU update (FreeBSD)Christian Goettsche2020-11-191-1/+0
|
* FreeBSD: update ProcessChristian Göttsche2020-10-291-6/+6
|
* FreeBSD: rework tty process columnChristian Goettsche2020-10-291-0/+5
|
* Hold only a const version of Settings in ProcessChristian Göttsche2020-10-261-1/+1
|
* Mark process parameter of Process_writeField consistently constChristian Göttsche2020-10-261-1/+1
|
* Make all required includes explicitBenny Baumann2020-10-181-0/+8
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Mark remaining classes constChristian Göttsche2020-10-131-1/+1
|
* Mark process argument of Process_isThread constChristian Göttsche2020-10-091-1/+1
|
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-9/+1
| | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed.
* Axe automated header generation.Zev Weiss2020-09-031-2/+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.
* Regenerate platform-dependent headers.Hisham Muhammad2015-10-191-3/+10
| | | | Closes #293.
* Make column width calculation dynamic.Hisham Muhammad2015-08-201-3/+0
| | | | Closes #228.
* Re-run MakeHeader.py on freebsd/FreeBSDProcess.cLance Chen2015-06-071-2/+4
| | | | | Several functions and struct had changed in b291fba02b8d9bb52cd8a23ef5fffbba4f89ff0a
* Major advances in FreeBSD port.Hisham Muhammad2015-03-161-0/+8
|
* Get FreeBSD tree to compile again with latest changes.Hisham Muhammad2015-03-161-0/+40

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