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

Can't use retis without installed kernel config file #445

Closed
igsilya opened this issue Nov 8, 2024 · 2 comments
Closed

Can't use retis without installed kernel config file #445

igsilya opened this issue Nov 8, 2024 · 2 comments

Comments

@igsilya
Copy link

igsilya commented Nov 8, 2024

When I build my own kernels from sources, the config file is normally not installed, and retis fails to run. At first, it says that some checks won't be performed, but then just fails entirely:

retis collect
WARN  Could not parse kernel configuration from known paths: some checks won't be performed
Collector(s) started: ct, skb, skb-tracking, skb-drop
Error: Could not query the kernel configuration
@atenart
Copy link
Contributor

atenart commented Nov 14, 2024

Thanks for the report! The kernel config should be optional and I think the above issue was only introduced in #434. The main branch should work just fine.

(The issue is how #434 is using inspector!().kernel.get_config_option).

I'll fix this in the mentioned PR. Closing this, feel free to reopen if needed.

@igsilya
Copy link
Author

igsilya commented Nov 14, 2024

Thanks for the report! The kernel config should be optional and I think the above issue was only introduced in #434. The main branch should work just fine.

Ah, sorry. I did look through the PR before opening the issue, but missed that anyway. :)

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

No branches or pull requests

2 participants