2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

Update CPU profiling using perf

Alessio Podda
2024-12-02 07:43:12 +00:00
parent 3b41c4ac7e
commit 94d28d9a64

@@ -13,7 +13,14 @@ If your distribution does not package `inferno`, you can install the original `f
sudo dnf install perf flamegraph
```
Replace calls to `inferno` with `flamegraph.pl` if necessary.
Replace calls to `inferno` with `flamegraph.pl` if necessary.
1. *Optional* Enable profiling without `root` access:
```sh
echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
echo 0 | sudo tee /proc/sys/kernel/nmi_watchdog
```
1. Ensure you have compiled `named` with debug symbols. Optionally, set up a prefix