Skip to content

Commit ef32afc

Browse files
committed
Add note that FTL will run much slower in valgrind
Signed-off-by: DL6ER <[email protected]>
1 parent 24477e3 commit ef32afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ftldns/valgrind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Occasionally, debugging may require us to run `pihole-FTL` in `valgrind`. We also use it to measure performance and check that our memory layout is optimal (= minimal footprint).
44

5-
`Valgrind` is a flexible program for debugging and profiling Linux executables. It consists of a core, which provides a synthetic CPU in software, and a series of debugging and profiling tools.
5+
`Valgrind` is a flexible program for debugging and profiling Linux executables. It consists of a core, which provides a synthetic CPU in software, and a series of debugging and profiling tools. The use of a synthetic CPU allows Valgrind to run the client program in a completely controlled environment and, hence, track the behaviour of the program in a very detailed way. Unfortunately, this also means that the program runs *much* slower than usual.
66

77
## `memcheck`
88

0 commit comments

Comments
 (0)