Skip to content

Reimplement PCP instance domain handling for Choice meters#3

Open
natoscott wants to merge 11 commits intosmalinux:ip_pcp_dmfrom
natoscott:smalinux-ip_pcp_dm
Open

Reimplement PCP instance domain handling for Choice meters#3
natoscott wants to merge 11 commits intosmalinux:ip_pcp_dmfrom
natoscott:smalinux-ip_pcp_dm

Conversation

@natoscott
Copy link
Copy Markdown

Avoid duplicating metric name and descriptor lookups just
for Choice meters as these have already been performed as
part of initialization - use the cached values instead.

cgzones and others added 11 commits August 22, 2022 17:23
Improves stacktraces in case the function pointer is NULL, mainly useful
for development.

Similar to be568b1 ("Object: assert callbacks exists")
Add support for meters to have different choices, e.g. different sources
, modes, ... , which can be selected by the user.
Add choice support to display IP addresses based on the selected network
interface.

Currently only implemented on Linux and FreeBSD.
Currently only implemented on Linux and FreeBSD.
Use a meter attached data structure instead of static variables, to
uncouple different meters for choice support.
Display the network usage based on the selected network interface.

Currently only implemented on Linux and FreeBSD.
Show the input and maximum temperature of any available libsensors
temperature sensor.

Related: htop-dev#610
Show the input, minimum and maximum fan speed of any available
libsensors fan sensor.
Related: htop-dev#200 && htop-dev#669

Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
Avoid duplicating metric name and descriptor lookups just
for Choice meters as these have already been performed as
part of initialization - use the cached values instead.
@smalinux smalinux force-pushed the ip_pcp_dm branch 3 times, most recently from bc54719 to 2f005cc Compare September 15, 2022 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants