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

synchronize eBPF lib header #1973

Merged
merged 2 commits into from
Dec 17, 2024
Merged

synchronize eBPF lib header #1973

merged 2 commits into from
Dec 17, 2024

Conversation

yyuuttaaoo
Copy link
Collaborator

@yyuuttaaoo yyuuttaaoo commented Dec 17, 2024

  1. Synchronize export.h:
    Updated export.h to ensure consistency across the codebase. All necessary declarations and definitions are now properly synchronized.
  2. Leverage destructor for stop functionality:
    Implemented the stopAll functionality within the destructor to ensure a clean and automatic resource cleanup when objects go out of scope, enhancing robustness and reducing the likelihood of resource leaks.
  3. Fix memory violation in FlusherSLS:
    In FlusherSLS, the DealSenderQueueItemAfterSend function was releasing the pipeline object prematurely, which could lead to memory violations if the pipeline member was accessed afterward.

@yyuuttaaoo yyuuttaaoo changed the title fix: use pipeline menber after pipeline destruction in FlusherSLS synchronize eBPF lib header Dec 17, 2024
@yyuuttaaoo yyuuttaaoo merged commit 0afb1b0 into alibaba:main Dec 17, 2024
15 checks passed
@yyuuttaaoo yyuuttaaoo added this to the v3.0 milestone Dec 17, 2024
@henryzhx8 henryzhx8 added the enhancement Feature enhancement label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants