mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Update CPU profiling using perf
@@ -15,6 +15,13 @@ sudo dnf install perf flamegraph
|
||||
|
||||
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
|
||||
|
||||
```sh
|
||||
|
Reference in New Issue
Block a user