Skip to content

docs: CPU Profile generation#121

Open
olivereanderson wants to merge 1 commit intocyberus-technology:gardenlinuxfrom
olivereanderson:cpu-profile-generation-documentation
Open

docs: CPU Profile generation#121
olivereanderson wants to merge 1 commit intocyberus-technology:gardenlinuxfrom
olivereanderson:cpu-profile-generation-documentation

Conversation

@olivereanderson
Copy link
Copy Markdown

Add developer documentation on how to use the CPU profile generation tool.

Open questions

Would it perhaps be better to open one or more issues instead of having an outlook section here?

We add developer documentation on how to use the CPU profile generation
tool.

We also include a short outlook section with ideas for what we want to
improve in the near future.

Signed-off-by: Oliver Anderson <oliver.anderson@cyberus-technology.de>
On-behalf-of: SAP oliver.anderson@sap.com

check them in to git and then extend the `arch::x86_64::CpuProfile` enum with a new variant for your freshly generated profile.

The final step is then to adapt `arch::x86_64::CpuProfile::cpuid_data` and `arch::x86_64::CpuProfile::msr_data` mutatis mutandis
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it is just me but I had to google the meaning of mutatis mutandis

Copy link
Copy Markdown
Author

@olivereanderson olivereanderson Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will try to find a simpler formulation. As always there is no need to be unnecessarily fancy. I just don't know of any other concise way to say exactly that, but it doesn't hurt to spend a few more words here anyway 🙂

Such PRs will **not be accepted**. Instead we encourage you add a `V2` (or higher number if `V<i>` already exists) suffix
when generating the profile.

## Outlook
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your idea and the writeup is valuabe! I think however this belongs to an issue. Outlook section may link to an issue, tho.

Copy link
Copy Markdown
Member

@phip1611 phip1611 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! I think the outlook section should be an issue instead.

@phip1611 phip1611 self-assigned this Mar 26, 2026
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