summaryrefslogtreecommitdiffstats
path: root/linux/LibNl.c
Commit message (Collapse)AuthorAgeFilesLines
* Use uppercase floating point literalsChristian Göttsche2024-04-081-1/+1
|
* Linux: update gathering information regarding threadsChristian Göttsche2024-04-061-0/+3
| | | | | | | | | Document for each block gathering information about a task whether the information is shared for the whole process or specific to a single userland thread. Also avoid system calls for process-shared information and reuse the information from the main task.
* linux: use dlopen for libnl3 instead of dynamic linkingChristian Göttsche2024-04-051-23/+136
| | | | | | | | | | | Instead of the current behavior of dynamic linking against libnl3 and libnl-genl-3 when configured with --enable-delayacct, load the shared libraries on request, if any delay accounting related process field is active, via dlopen(3), similar to libsensors and libsystemd. Distribution, who currently build htop with --enable-delayacct, need to explicitly add libnl3 and libnl-genl-3 as runtime dependencies to continue supporting delay accounting out-of-the-box.
* linux: move libnl code into separate fileChristian Göttsche2024-04-051-0/+123
Move all the code using libnl functionality into a separate file to ease modifications. No functional change.

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