From 81cb0afb2b0163d95a435583041dce1064eec65c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 5 Jul 2018 16:04:32 -0400 Subject: Start splitting src/or This is a very gentle commit that just lays the groundwork in the build system: it puts the include files to build libtor-app.a into src/core, and to build the tor executable into src/app. The executable is now "src/app/tor". --- doc/HACKING/HelpfulTools.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/HACKING/HelpfulTools.md') diff --git a/doc/HACKING/HelpfulTools.md b/doc/HACKING/HelpfulTools.md index eb068a91f3..13d1c4b0d7 100644 --- a/doc/HACKING/HelpfulTools.md +++ b/doc/HACKING/HelpfulTools.md @@ -28,7 +28,7 @@ Jenkins Valgrind -------- - valgrind --leak-check=yes --error-limit=no --show-reachable=yes src/or/tor + valgrind --leak-check=yes --error-limit=no --show-reachable=yes src/app/tor (Note that if you get a zillion openssl warnings, you will also need to pass `--undef-value-errors=no` to valgrind, or rebuild your openssl @@ -232,10 +232,10 @@ Beforehand, install google-perftools. Now you can run Tor with profiling enabled, and use the pprof utility to look at performance! See the gperftools manual for more info, but basically: -2. Run `env CPUPROFILE=/tmp/profile src/or/tor -f `. The profile file +2. Run `env CPUPROFILE=/tmp/profile src/app/tor -f `. The profile file is not written to until Tor finishes execuction. -3. Run `pprof src/or/tor /tm/profile` to start the REPL. +3. Run `pprof src/app/tor /tm/profile` to start the REPL. Generating and analyzing a callgraph ------------------------------------ -- cgit v1.2.3-54-g00ecf