Skip to content

fix: agent - eBPF Fix Event Type Value#8745

Merged
rvql merged 1 commit intomainfrom
fix_event_type_main
Dec 23, 2024
Merged

fix: agent - eBPF Fix Event Type Value#8745
rvql merged 1 commit intomainfrom
fix_event_type_main

Conversation

@yinjiping
Copy link
Contributor

If 0 < ev_meta->event_type < EVENT_TYPE_MIN, it is classified as 'socket data buffer'. If ev_meta->event_type >= EVENT_TYPE_MIN, it is classified as register events.

Previously, the value of EVENT_TYPE_MIN was set to 32. However, some UPROBE events exceeded or equaled 32, causing data loss in socket data. This patch increases EVENT_TYPE_MIN to 512 to fix this issue.

This PR is for:

  • Agent

Affected branches

  • main
  • v6.6

If `0 < ev_meta->event_type < EVENT_TYPE_MIN`, it is classified as 'socket data buffer'.
If `ev_meta->event_type >= EVENT_TYPE_MIN`, it is classified as register events.

Previously, the value of `EVENT_TYPE_MIN` was set to 32. However, some UPROBE events exceeded or equaled 32, causing data loss in socket data. This patch increases `EVENT_TYPE_MIN` to 512 to fix this issue.
@rvql rvql enabled auto-merge (rebase) December 23, 2024 06:44
@rvql rvql merged commit 877340d into main Dec 23, 2024
@rvql rvql deleted the fix_event_type_main branch December 23, 2024 06:53
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.

3 participants