diff --git a/README.md~ b/README.md~ deleted file mode 100644 index 14926d9..0000000 --- a/README.md~ +++ /dev/null @@ -1,28 +0,0 @@ -# aya-playground - -## Prerequisites - -1. Install bpf-linker: `cargo install bpf-linker` - -## Build eBPF - -```bash -cargo xtask build-ebpf -``` - -To perform a release build you can use the `--release` flag. -You may also change the target architecture with the `--target` flag. - -## Build Userspace - -```bash -cargo build -``` - -## Run - -```bash -RUST_LOG=info cargo xtask run -``` -cargo xtask build-ebpf -RUST_LOG=info cargo xtask run -- --iface wlp2s0 diff --git a/aya-playground-ebpf/Cargo.toml~ b/aya-playground-ebpf/Cargo.toml~ deleted file mode 100644 index 8d95856..0000000 --- a/aya-playground-ebpf/Cargo.toml~ +++ /dev/null @@ -1,32 +0,0 @@ -[package] -name = "aya-playground-ebpf" -version = "0.1.0" -edition = "2021" - -[dependencies] -aya-bpf = { git = "https://github.com/aya-rs/aya" } -aya-log-ebpf = { git = "https://github.com/aya-rs/aya" } -aya-playground-common = { path = "../aya-playground-common" } - -[[bin]] -name = "aya-playground" -path = "src/main.rs" - -[profile.dev] -opt-level = 3 -debug = false -debug-assertions = false -overflow-checks = false -lto = true -panic = "abort" -incremental = false -codegen-units = 1 -rpath = false - -[profile.release] -lto = true -panic = "abort" -codegen-units = 1 - -[workspace] -members = []