-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: Add commands to list BPF links and BTF objects to BPF script
Add two commands to the BPF script, "b" and "l", to list the BTF objects and the BPF link (respectively) loaded on the system. These commands make use of the recently introduced helpers for iterating over those objects. Older kernels do not have eBPF links, so make sure we handle the lookup exception properly. Signed-off-by: Quentin Monnet <quentin@isovalent.com>
- Loading branch information
Showing
1 changed file
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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