Skip to content

ksmd: Improve help text - #3782

Merged
SuperQ merged 1 commit into
masterfrom
superq/ksm_format
Aug 5, 2026
Merged

ksmd: Improve help text#3782
SuperQ merged 1 commit into
masterfrom
superq/ksm_format

Conversation

@SuperQ

@SuperQ SuperQ commented Aug 5, 2026

Copy link
Copy Markdown
Member

Update the ksmd collector to use pre-defined metrics descriptions instead of auto-generated. This allows for improved help text taken from the kernel documentation. This also avoids memory allocations each time NewKsmdCollector() is called.

@SuperQ

SuperQ commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

👓 @rtreffer @michalskrivanek

I also did a little bit of style cleanup.

@SuperQ
SuperQ force-pushed the superq/ksm_format branch from 1248673 to 74e9cc5 Compare August 5, 2026 06:43
Update the ksmd collector to use pre-defined metrics descriptions
instead of auto-generated. This allows for improved help text
taken from the kernel documentation. This also avoids memory allocations
each time `NewKsmdCollector()` is called.

Signed-off-by: Ben Kochie <superq@gmail.com>
@SuperQ
SuperQ force-pushed the superq/ksm_format branch from 74e9cc5 to 3bb4025 Compare August 5, 2026 06:45
@michalskrivanek

Copy link
Copy Markdown
Contributor

LGTM, the help texts are little more helpful now. Thanks!

@SuperQ
SuperQ merged commit 415fb0c into master Aug 5, 2026
17 checks passed
@SuperQ
SuperQ deleted the superq/ksm_format branch August 5, 2026 11:10
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.

2 participants