Skip to content

armbian-kernel: btf: fixes + enable KPROBES#9715

Merged
igorpecovnik merged 2 commits into
armbian:mainfrom
rpardini:pr/armbian-kernel-btf-fixes--enable-KPROBES
Apr 23, 2026
Merged

armbian-kernel: btf: fixes + enable KPROBES#9715
igorpecovnik merged 2 commits into
armbian:mainfrom
rpardini:pr/armbian-kernel-btf-fixes--enable-KPROBES

Conversation

@rpardini
Copy link
Copy Markdown
Member

@rpardini rpardini commented Apr 23, 2026

armbian-kernel: btf: fixes + enable KPROBES

  • 🌵 armbian-kernel: btf: DEBUG_INFO_REDUCED blocks DEBUG_INFO_BTF
    • only for KERNEL_BTF=yes case
  • 🍃 armbian-kernel: btf: KPROBES + KPROBE_EVENTS
    • only for KERNEL_BTF=yes case

Summary by CodeRabbit

  • Bug Fixes
    • Enhanced kernel compilation configuration for eBPF/BTF debug information handling, ensuring proper debug symbol selection and enabling dynamic kernel instrumentation capabilities for improved system tracing and debugging support.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3472cfc4-56b1-48e6-97c2-c83c40ea441b

📥 Commits

Reviewing files that changed from the base of the PR and between 2bb89c7 and 8abe6fb.

📒 Files selected for processing (1)
  • lib/functions/compilation/armbian-kernel.sh

📝 Walkthrough

Walkthrough

The eBPF/BTF kernel configuration logic in the Armbian compilation script now disables DEBUG_INFO_REDUCED and enables KPROBES and KPROBE_EVENTS when BTF is requested, expanding dynamic kernel instrumentation capabilities alongside existing ftrace options.

Changes

Cohort / File(s) Summary
Kernel eBPF/BTF Configuration
lib/functions/compilation/armbian-kernel.sh
Added disable of DEBUG_INFO_REDUCED and enabled KPROBES and KPROBE_EVENTS kernel config options within BTF configuration logic.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 Hop skip and a bound through kernel options tight,
BTF and KPROBES now shining bright,
Debug info restructured with careful care,
Dynamic tracing magic fills the air!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main changes: BTF-related fixes and enabling KPROBES in the armbian-kernel build script, which directly matches the changeset objectives.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@rpardini rpardini marked this pull request as ready for review April 23, 2026 09:26
@rpardini rpardini requested a review from a team as a code owner April 23, 2026 09:26
@rpardini rpardini requested review from Tearran and dimitry-ishenko and removed request for a team April 23, 2026 09:26
@github-actions github-actions Bot added Needs review Seeking for review 05 Milestone: Second quarter release Framework Framework components size/small PR with less then 50 lines labels Apr 23, 2026
@github-actions github-actions Bot added the Ready to merge Reviewed, tested and ready for merge label Apr 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ This PR has been reviewed and approved — all set for merge!

@github-actions github-actions Bot removed the Needs review Seeking for review label Apr 23, 2026
@igorpecovnik igorpecovnik merged commit 0459ebb into armbian:main Apr 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

05 Milestone: Second quarter release Framework Framework components Ready to merge Reviewed, tested and ready for merge size/small PR with less then 50 lines

Development

Successfully merging this pull request may close these issues.

2 participants