We’re excited to share the highlights of the most recent Inspektor Gadget release .

This summary includes:

Ig image remove

Enums to strings

eBPF map logic

Support of fentry, fexit, raw_tracepoint

Ig image remove

The ig image remove command was added which enables users to remove image based gadgets from their local storage. It leverages the upstream project Oras, which we contributed to in order to enable the “remove” functionality.

Enums to strings

As a part of converting built-in gadgets to image-based gadgets, we can now print enums as strings. This makes interpreting the data from the gadget output much easier and it is no longer required for users to convert raw numbers to their string equivalents. Check out the example below:

Image showing the enums to string as described above.

eBPF map logic

Inspektor Gadget now includes logic to detect which kind of eBPF map is being used to send events to the userspace (perf ring buffer or eBPF ring buffer). Gadget authors can write gadgets using the new API and IG will automatically default to the best option available depending on the Linux kernel in which the gadget is being used. Authors no longer need to worry about which version of Linux a gadget is being used in, this feature enables an optimal implementation. Check out the updated documentation found here . This functionality is inspired by similar work in the BCC project .

Support of fentry, fexit, raw tracepoint

In Linux there are many types of eBPF programs, we now support fentry, fexit and raw_tracepoint programs, which expands the opportunity to write additional tracing gadgets.

The full release notes can be found here: Release v0.24.0 · inspektor-gadget/inspektor-gadget · GitHub

As always, we look forward to hearing your feedback and connecting with you on Slack! #inspektor-gadget in the Kubernetes workspace.

Related Articles