Inspired by
go tool cover.
⚠️ Coverage is based solely onsource-linespresent in verifier logs.
- Click on
extentions icon- search for
h0x0er.ebpf-coverand install
- search for
-
Goto latest-release and download the vsix file.
-
Open vscode, hit
CTRL+SHIFT+p,- type
install from vsixhit-enter, then - choose the downloaded vsix file
- type
- Once the extention is installed
- Hit
CTRL+SHIFT+pto open the command-field- type
ebpf-cover:- choose
ebpf-cover: Add coverageto add the coverage- then choose the verifier log file
- choose
ebpf-cover: Remove coverageto remove the coverage
- choose
- type
