Skip to content

Commit

Permalink
improve metrics=1 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ShohamBit committed Dec 17, 2024
1 parent a6b3995 commit ab51f00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/contributing/building/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,15 @@
>plugin.Open("/tracee/dist/signatures/builtin.so"): Dynamic loading not supported
>```

8. Build a **debugable binary** with DWARF generation by setting `DEBUG=1`
8. Build a **debuggable binary** with DWARF generation by setting `DEBUG=1`

```bash
DEBUG=1 make
```

9. Build with embedded metrics (pprof) by setting `METRICS=1`
9. Build enabling BPF metrics by setting `METRICS=1`.

BPF metrics are only available if the BPF object is built with `METRICS` debug flag defined.

```bash
METRICS=1 make
Expand Down

0 comments on commit ab51f00

Please sign in to comment.