-
Notifications
You must be signed in to change notification settings - Fork 185
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
Remove bcc image #2094
Remove bcc image #2094
Conversation
cda5b38
to
4606eae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good mostly, still missing some places to be updated:
- Required kernel versions:
inspektor-gadget/docs/requirements.md
Line 41 in 2be68e5
### Required Kernel Versions and `CONFIG_*` - Contributing guide docs/devel/CONTRIBUTING.md
1cd9dcb
to
8e6334e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from code inspection. Just one nit, the title of the PR and some commits should be updated since it's not deprecating but removing BCC support.
We now only have one flavour of the gadget container image, there is no sense naming it default. The removal of standardtracer code was done by the following gopatch [1]: @@ @@ t.tracer, err = tracer.NewTracer(...) if err != nil { - trace.Status.OperationWarning = fmt.Sprint(...) - // fallback to standard tracer - log.Infof(...) - t.tracer, err = standardtracer.NewTracer(...) - if err != nil { - trace.Status.OperationError = fmt.Sprintf("failed to create tracer: %s", err) - return - } + trace.Status.OperationError = fmt.Sprintf("failed to create tracer: %s", err) + return } Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com> [1]: https://github.com/uber-go/gopatch
Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
8e6334e
to
a07b5a8
Compare
Thank you for the review! |
Hi.
This PR deprecates the
bcc
image and remove any mention ofdefault
as we only have one image now.Best regards.