ebpfdbg

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2023 License: MPL-2.0

README

ebpfdbg (eBPF verifier log viewer)

This project is aimed to help debug large eBPF verifier error logs. This simple utility allows to post-process eBPF verifier log to a human-readable HTML page.

How to use

1. Get a file with eBPF verifier log

If you see an error message from eBPF verifier due to loading of your program, you need to extract full eBPF verifier logs. Make sure your log is not truncated to default 65535 bytes. Save it to a file.

2. Run eBPF verifier against it

You need to have Go compiler 1.19 or higher on your system. Run the following:

go get github.com/ph1048/ebpfdbg/cmd/
go run github.com/ph1048/ebpfdbg/cmd/ serve --input path/to/log
3. Open URL in web browser

Depending on the verifier log size, this page might be heavy.

Contribution

Ways to contribute:

  1. Create issues for problems and suggestions
  2. Post your full eBPF verifier logs (if possible)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL