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

refactor: turn error event into log event #158

Merged
merged 2 commits into from
Dec 19, 2024
Merged

refactor: turn error event into log event #158

merged 2 commits into from
Dec 19, 2024

Conversation

qjerome
Copy link
Member

@qjerome qjerome commented Dec 19, 2024

  • more accurate terminology as a log can be either info/warn/error
  • refactored eBPF error and warn macro to handle all the cases
  • removed error_msg and warn_msg macros
  • renamed structures and enums to turn "error" terminology to "log"

NB: this PR is a preliminary grooming to later introduce an Error event aiming at appearing in Kunai logs

- more accurate terminology as a log can be either info/warn/error
- refactored eBPF error and warn macro to handle all the cases
- removed error_msg and warn_msg macros
- renamed structures and enums to turn "error" terminology to "log"
@qjerome qjerome merged commit 6aca3c8 into main Dec 19, 2024
2 checks passed
@qjerome qjerome deleted the refactor-ebpf-log branch December 19, 2024 15:00
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.

1 participant