Skip to content

Conversation

rgo3
Copy link
Contributor

@rgo3 rgo3 commented Dec 15, 2022

With this PR we support feature probes for all program types the library currently supports.

Copy link
Collaborator

@ti-mo ti-mo left a comment

Choose a reason for hiding this comment

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

Exciting!

rgo3 added 2 commits December 23, 2022 12:05
With this commit it is possible to set `btf.funcInfoMeta` on
asm.Instructions from outside the `btf` package.

Signed-off-by: Robin Gögge <r.goegge@isovalent.com>
Hardcode bpf_init as the fentry probe target. It's been part of the kernel
since 4.4 (torvalds/linux@b2197755b263), has been completely untouched,
and has a simple signature. For probing a BPF program type, it makes sense
to target a symbol from the BPF subsystem.

Signed-off-by: Robin Gögge <r.goegge@isovalent.com>
Signed-off-by: Timo Beckers <timo@isovalent.com>
@ti-mo ti-mo force-pushed the add-missing-prog-probes branch from 52a5e14 to 6e188e9 Compare December 23, 2022 11:06
@ti-mo ti-mo merged commit c7ba7f0 into cilium:master Dec 23, 2022
@rgo3 rgo3 deleted the add-missing-prog-probes branch December 23, 2022 11:15
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.

3 participants