diff options
author | Roger Dingledine <arma@torproject.org> | 2020-02-03 23:21:58 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2020-02-03 23:21:58 -0500 |
commit | 90bb4872b82435b2750859a35937a748c2917c31 (patch) | |
tree | 7fa2048d6655c1cd58413aae53a98eb608b6aaf4 /doc/HACKING | |
parent | 1bf377f4b68136a238d9e54d5b56169c9589b583 (diff) | |
download | tor-90bb4872b82435b2750859a35937a748c2917c31.tar.gz tor-90bb4872b82435b2750859a35937a748c2917c31.zip |
go in to fix one typo, end up fixing more
Diffstat (limited to 'doc/HACKING')
-rw-r--r-- | doc/HACKING/HelpfulTools.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/HACKING/HelpfulTools.md b/doc/HACKING/HelpfulTools.md index 866b321287..ae892c34a2 100644 --- a/doc/HACKING/HelpfulTools.md +++ b/doc/HACKING/HelpfulTools.md @@ -251,16 +251,16 @@ 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/app/tor -f <path/torrc>`. The profile file - is not written to until Tor finishes execuction. + is not written to until Tor finishes execution. -3. Run `pprof src/app/tor /tm/profile` to start the REPL. +3. Run `pprof src/app/tor /tmp/profile` to start the REPL. Generating and analyzing a callgraph ------------------------------------ 0. Build Tor on linux or mac, ideally with -O0 or -fno-inline. -1. Clone 'https://gitweb.torproject.org/user/nickm/calltool.git/' . +1. Clone 'https://git.torproject.org/user/nickm/calltool.git/' . Follow the README in that repository. Note that currently the callgraph generator can't detect calls that pass @@ -396,7 +396,7 @@ source code. Here's how to use it: 6. See the Doxygen manual for more information; this summary just scratches the surface. -Style and best-pratices checking +Style and best-practices checking -------------------------------- We use scripts to check for various problems in the formatting and style |