Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix ebpf kernel version parsing #9930

Merged
merged 3 commits into from
Nov 16, 2021
Merged

Conversation

brycekahle
Copy link
Member

What does this PR do?

Fixes kernel version parsing on 4.14.252+ kernels. If we do not match the expected kernel version when loading eBPF kprobes, they will fail to load. See DataDog/ebpf#60 for details.

Motivation

system-probe not starting on latest Amazon Linux 2 kernels.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
  • The appropriate team/.. label has been applied, if known.
  • A release note has been added or the changelog/no-changelog label has been applied.
  • Changed code has automated tests for its functionality.
  • Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
  • If applicable, docs team has been notified or an issue has been opened on the documentation repo.
  • If applicable, the need-change/operator and need-change/helm labels have been applied.
  • If applicable, the config template has been updated.

@brycekahle brycekahle added team/networks [deprecated] qa/skip-qa - use other qa/ labels [DEPRECATED] Please use qa/done or qa/no-code-change to skip creating a QA card labels Nov 16, 2021
@brycekahle brycekahle added this to the 7.33.0 milestone Nov 16, 2021
@brycekahle brycekahle merged commit b4e124d into main Nov 16, 2021
@brycekahle brycekahle deleted the bryce.kahle/fix-ebpf-sublevel-al2 branch November 16, 2021 21:22
@brycekahle brycekahle mentioned this pull request Nov 16, 2021
8 tasks
zandrewitte pushed a commit to StackVista/stackstate-agent that referenced this pull request Nov 17, 2022
* Update ebpf library with kernel sublevel fix

* Update ebpf-manager with fixes for ECS

* Add release note
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
category/bugfix [deprecated] qa/skip-qa - use other qa/ labels [DEPRECATED] Please use qa/done or qa/no-code-change to skip creating a QA card team/networks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants