Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document + Validate Kernel Config Options #2141

Open
mrueg opened this issue Oct 12, 2023 · 3 comments
Open

Document + Validate Kernel Config Options #2141

mrueg opened this issue Oct 12, 2023 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@mrueg
Copy link
Contributor

mrueg commented Oct 12, 2023

Is your feature request related to a problem? Please describe.

Currently it is not clear which kernel options need to be activated.
Describe the solution you'd like

  • A document that includes a list of kernel config options that need to be set (e.g. uprobe and BTF support)

  • A script or even an integration into parca-agent that validates the config options similar to cilium kernel-check
    This could also be helpful to reduce bug reports and enables users to fix issues around kernel support themselves.

Describe alternatives you've considered

Additional context

cilium/cilium@8f700ac

@brancz
Copy link
Member

brancz commented Oct 12, 2023

Parca Agent itself should exit if it’s not a supported kernel (added in the latest version).

@mrueg
Copy link
Contributor Author

mrueg commented Oct 13, 2023

Does it provide more information on what's possibly missing? With my self-compiled kernel I had to play a bit of whack-a-mole to activate the right options.

What cilium does, is calling bpftool -j feature probe and then parsing its output to verify the right config parameters are set and available, so that could be helpful for parca as well.

@brancz
Copy link
Member

brancz commented Oct 13, 2023

Aha, I see what you mean, I think that's a great idea!

@kakkoyun kakkoyun added the documentation Improvements or additions to documentation label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants