Tamir Duberstein
7425e7bd2d
Add Rust 1.80.1 to CI
3 months ago
Tamir Duberstein
5811d6ff56
Replace xtask builds with build scripts
...
Adapt https://github.com/aya-rs/aya/commit/3d463a3 and subsequent work
to the template. This has worked very well for us in the main project,
and our users should get the same hotness.
Note that xtask is still used for running, as it is in the main project.
3 months ago
Tamir Duberstein
ee45752006
Move dependencies to workspace
...
Add "{{project-name}}-ebpf" to workspace. Update various cargo configs
to match main aya repo.
3 months ago
Xiaobo Liu
d889dd373b
Upgrade aya version
...
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
3 months ago
Michal Rostecki
f642921fee
chore: Use `aya`, `aya-ebpf` and `aya-log` from crates.io
9 months ago
pdliyan
506ce7ec3d
make warn info more informative.
2 years ago
pdliyan
bc2db6b112
use libc instead of rlimit.
2 years ago
pdliyan
f8639db35a
add memlock remove.
2 years ago
Arindam Das
b45787c353
fix: fixes aya and aya-log version mismatch ( #89 )
...
Fixes aya and aya-log version mismatch between {{project-name}}-epbf and {{project-name}} crates.
Fixes https://github.com/aya-rs/aya/issues/565 .
2 years ago
Dmitry Savintsev
715967772f
upgrade deps: tokio and anyhow
2 years ago
Dmitry Savintsev
7016308147
fix uprobe programs
...
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Dmitry Savintsev
8cd95c42ea
adjust spacing to avoid VSCode changes on save
...
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Dmitry Savintsev
c6c4082093
update anyhow, clap, and tokio
2 years ago
Dmitry Savintsev
e7ccd1a71e
include and use clap only if needed
...
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Michal Rostecki
76699e10b2
Update dependencies
...
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
2 years ago
Michal Rostecki
3b831ffda3
Switch from simplelog to env_logger
...
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
2 years ago
Dave Tucker
3b2b186e0b
Update dependency
...
Use `aya = ">=0.11"` and therefore the Aya version picked by
Cargo will be bounded by the latest version supported in
`aya-log = "0.1"` - once it's been released again.
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Michal Rostecki
9f69ee52b2
aya: Switch (again) from crates.io to git
...
This time we need to switch to git again, because of this unreleased
change:
aya-rs/aya@d1f2215193
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
3 years ago
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>
4 years ago
Dave Tucker
9e1c761d8d
Initial Commit
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
4 years ago