File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,30 @@ produce_callgraph: <package>: failed: [missing deb|empty|fcan]
5757produce_callgraph: <package>: success
5858```
5959
60+ Produce Fasten Call Graphs
61+ --------------------------
62+
63+ To produce call graphs for Debian C packages in
64+ [ Fasten's format] ( https://github.com/fasten-project/fasten/wiki/Extended-Revision-Call-Graph-format#c ) ,
65+ you should use the ` schaliasos/sbuild-cscout ` image.
66+ For example, to produce the call graph for the package ` zlib1g-dev ` of
67+ Debian buster release and for amd64 architecture, you should
68+ analyze the source of ` zlib ` .
69+ You should use the following command.
70+
71+ ```
72+ docker run -it --rm --privileged -v $(pwd)/callgraphs:/callgraphs \
73+ schaliasos/sbuild-cscout sbuild --apt-update --no-apt-upgrade \
74+ --no-apt-distupgrade --batch --stats-dir=/var/log/sbuild/stats \
75+ --dist=buster --arch=amd64 zlib
76+ ```
77+
78+ The call graph will be generated in the following file.
79+
80+ ```
81+ callgraphs/zlib/buster/1\:1.2.11.dfsg-1/amd64/zlib1g-dev/fcg.json
82+ ```
83+
6084Images in Dockerhub
6185-------------------
6286
You can’t perform that action at this time.
0 commit comments