Removed temp fiels

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
main
TuDatTr 2024-02-20 11:14:01 +01:00
parent f3ee525588
commit b6f7d7cdda
2 changed files with 0 additions and 60 deletions

View File

@ -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

View File

@ -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 = []