blob: e5b1b7477e1c8de8e339e591324bd3529ba4ae90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# fs-tracer
This repository contains the eBPF agent for monitoring POSIX filesystem modifications. It works in conjunction with the backend services found in [fs-tracer-backend](https://github.com/baitinq/fs-tracer-backend) and [frotend part](https://github.com/baitinq/fs-tracer-frontend) of the application.
## 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
```
Related:
- https://github.com/baitinq/fs-tracer-backend
- https://github.com/baitinq/fs-tracer-frontend
|