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

docs/devel: Specify that GADGET_* macros are optional #2498

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

blanquicet
Copy link
Member

docs/devel: Specify that GADGET_* macros are optional

It wasn't clear that the GADGET_* macro is optional for the gadget to work. However, it's necessary to enable IG to generate (from scratch) the metadata file from the eBPF code.

TODO (For a future PR)

Add a list with the type of gadgets we support: tracer and snapshotter (probably in gadget-helper-api.md) and refer it from the Implementing the eBPF program section of hello-world-gadget.md.

docs/devel/hello-world-gadget.md Outdated Show resolved Hide resolved
docs/devel/hello-world-gadget.md Outdated Show resolved Hide resolved
docs/devel/hello-world-gadget.md Outdated Show resolved Hide resolved
docs/devel/hello-world-gadget.md Outdated Show resolved Hide resolved
@blanquicet blanquicet force-pushed the jose/docs/gadget-macro-optional branch 2 times, most recently from a6f9feb to cf39159 Compare February 14, 2024 16:51
Signed-off-by: Jose Blanquicet <josebl@microsoft.com>
@blanquicet blanquicet force-pushed the jose/docs/gadget-macro-optional branch from cf39159 to 51f5f53 Compare February 14, 2024 16:55
Copy link
Member

@mauriciovasquezbernal mauriciovasquezbernal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@blanquicet blanquicet merged commit f02743d into main Feb 15, 2024
56 of 58 checks passed
@blanquicet blanquicet deleted the jose/docs/gadget-macro-optional branch February 15, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants