Michal Rostecki
0ea4a7eb04
Add aya-log
...
This change adds aya-log and example log messsages to all eBPF
programs.
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
3 years ago
Michal Rostecki
f940467c4a
Use clap instead of structopt
...
structopt was merged into clap (starting from clap 3.0), therefore
becoming a deprecated project.
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
3 years ago
Michal Rostecki
f5181a822f
Update dependencies
...
Update simplelog and tokio
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
3 years ago
Dmitry Savintsev
aa3b2a4407
use edition 2021
3 years ago
Michal Rostecki
de709c52d0
Use Tokio and simplelog by default
...
Replace ctrlc usage with Tokio and simplelog.
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
3 years ago
Dave Tucker
e18bfe3e0d
rename userspace feature to user
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Alessandro Decina
dcf738cd46
Switch git urls to aya-rs
3 years ago
Dave Tucker
d98d90be7a
Generate Skeleton Programs for all program types
...
User may specify a program_type by prompt or CLI flag.
We then generate skeleton code to the ebpf program for a noop program of
that type.
Requires cargo-generate@main
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Dave Tucker
273123abb7
aya isn't optional for the main program
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Dave Tucker
9e1c761d8d
Initial Commit
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago