Inspektor Gadget v0.12.0 Release Notes.
Welcome to this new release of Inspektor Gadget. The most relevant changes are:
- Inspektor Gadget code base no more relies on
cgo(#1177, #1175, #1176 and #1174). - You can now trace events generated by
cri-ocontainers while usingfanotify(#1198). - We continued our effort to port more gadgets to
local-gadget. You can now generateseccompprofile withadvise seccomp-profile, use all the gadgets from theprofileandtopcategories as well as tracing containers deletion (#1161, #1167, #1163 and #1191)
Other changes are:
General improvements
- pkg/local-gadget: Update comment (#1172)
- dns/sni: Reduce duplicated code in network tracers (#1180)
- pkg/columns: add support for embedded structs via pointer (#1179)
- treewide: Replace pcomm by comm. (#1189)
- cmd: Group supported hooks into an array. (#1202)
- cmd/deploy: Add node-selector flag (#1187)
- gadgets: align tracer implementations (#1200)
- Add a linter docker image (#1194)
- tools: Fix git status regular expression. (#1197)
- gadgets/snapshot/process: Rename columns to match user space (#1207)
- gadgets/snapshot/process: Add support for older kernels (#1208)
- Include DNS response code in DNS trace events (#1217)
- Remove
io/ioutilfromsnapshot processtracer (#1225) - pkg/gadgets: Add parent PID to snapshot process. (#1234)
Bug fixes
- pkg/trace-collection: Avoid capturing events from wrong container (#1171)
- gadgets/profile: Fix bad stop logic (#1188)
- trace network: fix #ifndef condition (#1210)
- Fix byte order in DNS flags (#1212)
- tools: Use fork of btfhub until upstream is fixed (#1220)
- readme: Fix links to gadgets documentation. (#1218)
- Fix
trace signalprinting events twice (#1229)
Documentation improvements
Test and continuous integration
- integration/top/file: Sort descending by writes (#1185)
- ci: Do not push RC to krew. (#1183)
- ci: Add ebpf objects checks (#1190)
- ci: Add missing step for image caching (#1114)
- integration-tests: Include local-gadget in release job needs. (#1195)
- build(deps): bump manusa/actions-setup-minikube from 2.7.1 to 2.7.2 (#1209)
- integration: Add tests for local-gadget snapshot process (#1203)
- ci: Add integration tests for Mariner 2 (#1186)
- Improve integration tests for
top ebpf(#1224) - build(deps): bump actions/cache from 3.0.11 to 3.2.1 (#1232)
- integration: Add docker containers integration-tests (#1162)
Statistics
With regard to v0.11.0, we modified 296 files, added 5656 lines of code and removed 3257.
As this release does not contain a change adding a lot of lines, the number of added lines remains containerized.
As today, Inspektor Gadget relies on the following languages:
| Language | files | blank | comment | code |
|---|---|---|---|---|
| C/C++ Header | 33 | 27951 | 111 | 208843 |
| Go | 424 | 8438 | 9274 | 39437 |
| Markdown | 76 | 1400 | 0 | 5184 |
| C | 27 | 689 | 402 | 2811 |
| YAML | 46 | 74 | 183 | 2088 |
| SVG | 4 | 0 | 1 | 518 |
| make | 12 | 104 | 49 | 419 |
| Bourne Shell | 21 | 111 | 183 | 343 |
| Perl | 1 | 18 | 13 | 54 |
| JSON | 3 | 0 | 0 | 45 |
| Protocol Buffers | 1 | 16 | 17 | 45 |
| Bourne Again Shell | 1 | 4 | 3 | 16 |
| Dockerfile | 2 | 6 | 2 | 16 |
| -------- | -------- | -------- | -------- | -------- |
| SUM: | 651 | 38811 | 10238 | 259819 |
Full Changelog: v0.11.0...v0.12.0