mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Update CPU profiling using perf
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user