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

Provide debug flags to enable debug logs in eBPF programs. #92

Open
vishnoianil opened this issue Aug 10, 2022 · 0 comments
Open

Provide debug flags to enable debug logs in eBPF programs. #92

vishnoianil opened this issue Aug 10, 2022 · 0 comments
Labels
kind/enhancement I can make existing implementation better needs-triaging Find someone who is excited to work on this issue.

Comments

@vishnoianil
Copy link
Member

What problem this enhancement will solve?
Currently eBPF programs are logging all the logs by default. In production environment, we would like to enable those logs on demand.

What is your proposal?
Current proposal is to provide a -d flag in the patu deployment, which will reload all the eBPF programs and internally eBPF programs will look for DEBUG macro, and if its defined, it should log the message.

Describe alternatives you've considered
Open for suggestions.

@vishnoianil vishnoianil added kind/enhancement I can make existing implementation better needs-triaging Find someone who is excited to work on this issue. labels Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement I can make existing implementation better needs-triaging Find someone who is excited to work on this issue.
Projects
None yet
Development

No branches or pull requests

1 participant