aya-rs / book

The Aya Book is an introductory book about using the Rust Programming Language and Aya library to build extended Berkley Packet Filter (eBPF) programs.
https://aya-rs.dev/book/
Apache License 2.0
81 stars 60 forks source link

Add logs to show what's happening #125

Closed hegdenischay closed 1 year ago

hegdenischay commented 1 year ago

This PR adds logs, and changes the aya-rs version to track the main branch instead of a particular version. (Not doing this didn't let aya-log and aya-log-ebpf to work properly).

It also looks like lsm-nice-ebpf/src/vmlinux.rs needs to be changed when using a different aya-rs version, so that's also a part of the commit. The docs themselves recommend regenerating this file, so if that file isn't needed, I will update the commit by reverting that file back to its previous state.

netlify[bot] commented 1 year ago

Deploy Preview for aya-rs ready!

Name Link
Latest commit 4676484b0c93cb3c7e21094846710db3942345b7
Latest deploy log https://app.netlify.com/sites/aya-rs/deploys/64ba452e6e41ed0008b863f9
Deploy Preview https://deploy-preview-125--aya-rs.netlify.app/book/programs/lsm
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.