summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-06-14 17:44:15 -0400
committerNick Mathewson <nickm@torproject.org>2017-06-14 17:44:15 -0400
commit80ad374b8457e4c92f88f8a89376a8ca87231c9c (patch)
tree8594340d064bf4820d1497ba3fc32cca938d94ae /doc
parent3f40d9ec20c319cf57132ea526a2f9987a663599 (diff)
downloadtor-80ad374b8457e4c92f88f8a89376a8ca87231c9c.tar.gz
tor-80ad374b8457e4c92f88f8a89376a8ca87231c9c.zip
Remove old callgraph scripts; recommend calltool instead.
Diffstat (limited to 'doc')
-rw-r--r--doc/HACKING/HelpfulTools.md13
1 files changed, 3 insertions, 10 deletions
diff --git a/doc/HACKING/HelpfulTools.md b/doc/HACKING/HelpfulTools.md
index 67481ace43..b8ba2aa408 100644
--- a/doc/HACKING/HelpfulTools.md
+++ b/doc/HACKING/HelpfulTools.md
@@ -226,17 +226,10 @@ performance! See the gperftools manual for more info, but basically:
Generating and analyzing a callgraph
------------------------------------
-1. Run `./scripts/maint/generate_callgraph.sh`. This will generate a
- bunch of files in a new ./callgraph directory.
+0. Build Tor on linux or mac, ideally with -O0 or -fno-inline.
-2. Run `./scripts/maint/analyze_callgraph.py callgraph/src/*/*`. This
- will do a lot of graph operations and then dump out a new
- `callgraph.pkl` file, containing data in Python's 'pickle' format.
-
-3. Run `./scripts/maint/display_callgraph.py`. It will display:
- - the number of functions reachable from each function.
- - all strongly-connnected components in the Tor callgraph
- - the largest bottlenecks in the largest SCC in the Tor callgraph.
+1. Clone 'https://gitweb.torproject.org/user/nickm/calltool.git/' .
+ Follow the README in that repository.
Note that currently the callgraph generator can't detect calls that pass
through function pointers.