Skip to content

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

@vishnoianil

Description

@vishnoianil

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementI can make existing implementation betterneeds-triagingFind someone who is excited to work on this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions