Reimplement PCP instance domain handling for Choice meters#3
Open
natoscott wants to merge 11 commits intosmalinux:ip_pcp_dmfrom
Open
Reimplement PCP instance domain handling for Choice meters#3natoscott wants to merge 11 commits intosmalinux:ip_pcp_dmfrom
natoscott wants to merge 11 commits intosmalinux:ip_pcp_dmfrom
Conversation
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.
bc54719 to
2f005cc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.