DLPX-96700 Re-enable delphix/bcc package to linux-pkg#389
Open
tonynguien wants to merge 1 commit intodevelopfrom
Open
DLPX-96700 Re-enable delphix/bcc package to linux-pkg#389tonynguien wants to merge 1 commit intodevelopfrom
tonynguien wants to merge 1 commit intodevelopfrom
Conversation
e8e73fa to
b89ddc0
Compare
dbjwhs-perforce
approved these changes
Mar 3, 2026
| # | ||
| # shellcheck disable=SC2034 | ||
|
|
||
| # |
There was a problem hiding this comment.
nit question: empty comment block?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
This is a second attempt of #383 and I've tested with the updated delphix/bcc repo, see delphix/bcc#20
Problem
estat commands with zfs headers are failing, i.e. estat zio | zil | zpl | zvol | nfs-by-client | metaslab-alloc, see https://perforce.atlassian.net/browse/DLPX-96293.
The problem is Ubuntu bpfcc-tools and related packages the two years old, version 0.29, and support up to the 6.8 kernel (the main Ubuntu 24.04). Our images are running 6.14 kernel thus we get below forward declaration error
I’ve verified that a recent build of iovisor/bcc works cleanly and we no longer get these warning/error.
Solution
The solution is to build our own bcc packages which is what we did prior to the upgrade to 24.04 LTS. The delphix/bcc is a couple years out of date so the related delphix/bcc#20 PR updates that repo and adds minor changes to properly build and rename Debian packages so they can cleanly replace Ubuntu bpfcc packages.
Testing Done
Successful build against the delphix/bcc with merge changes.
Testing BCC programs work
Some estat commands are still failing though that will be separately tracked/addressed with https://perforce.atlassian.net/browse/DLPX-96701