diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-01-13 21:05:51 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-01-13 21:25:48 +0100 |
commit | ea9a3f1af5fe7547617821614b8194e4f484a8e1 (patch) | |
tree | 5652060b962ba3c839ac1c18e0e000efaf6bd3e2 /README.md | |
download | fs-tracer-ea9a3f1af5fe7547617821614b8194e4f484a8e1.tar.gz fs-tracer-ea9a3f1af5fe7547617821614b8194e4f484a8e1.tar.bz2 fs-tracer-ea9a3f1af5fe7547617821614b8194e4f484a8e1.zip |
Initial commit
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..74f5ba3 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# fs-tracer + +## 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 +``` |