Skip to content
An attempt to see how could bpf work with rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.toml
LICENSE
README.md

README.md

Trying to get bpf probing working with rust. I am using rust nightly, ubuntu 16.10

Steps:

  1. snap install --devmode bcc

  2. cargo run

  3. (as root):

    #that works bcc.trace -p pidof probes 'u::loop'

    #that doesn't bcc.trace -p pidof probes 'u::loop "%d", arg0'

You can’t perform that action at this time.